Color #ca1fff
A vivid, highly saturated medium purple.
Conversions
#ca1fff
rgb(202, 31, 255)
hsl(285.8, 100%, 56.1%)
hsv(285.8, 87.8%, 100%)
cmyk(20.8%, 87.8%, 0%, 0%)
lab(52.68, 87.47, -73.58)
lch(52.68, 114.3, 319.93)
oklch(63.2%, 0.2969, 315.49)
hwb(285.8, 12.2%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9e9de2 · ΔE 25.2
Deuteranopia
#a5adda · ΔE 29.6
Tritanopia
#c6c7c1 · ΔE 44.1
Achromatopsia
#7e7e7e · ΔE 32
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ca1fff;
bg-[#ca1fff]
Related colors
Frequently asked questions
#ca1fff (#ca1fff) is rgb(202, 31, 255) in RGB.
No, #ca1fff is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #ca1fff, or check how it holds up for accessibility.