#CA4FEF#CA4FEF
#CA4FEF is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.6% C 0.243 H 317.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CA4FEF |
|---|---|
| RGB | rgb(202, 79, 239) |
| HSL | hsl(286, 83%, 62%) |
| HSV | hsv(286, 67%, 94%) |
| CMYK | cmyk(15.5%, 66.9%, 0%, 6.3%) |
| CIE-LAB | lab(56.47, 70.67, -58.56) |
| CIE-LCH | lch(56.47, 91.78, 320.36°) |
| OKLab | oklab(65.56% 0.1787 -0.1643) |
| OKLCH | oklch(65.56% 0.243 317.4) |
| XYZ | xyz(42.7308, 24.3823, 84.1000) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.63
Bright Lilac
#C95EFB
ΔE00 3.22
Bright Lavender
#C760FF
ΔE00 3.88
Mediumorchid
#BA55D3
ΔE00 4.35
Pinkish Purple
#D648D7
ΔE00 4.67
Purple Pink
#D725DE
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA4FEF #74EF4F
analogous
#7A4FEF #CA4FEF #EF4FC4
triadic
#CA4FEF #EFCA4F #4FEFCA
tetradic
#CA4FEF #EF7A4F #74EF4F #4FC4EF
square
#CA4FEF #EF7A4F #74EF4F #4FC4EF
split-complementary
#CA4FEF #C4EF4F #4FEF7A
monochromatic
#8E10B3 #B917EA #CA4FEF #DB87F4 #ECBFF9
Accessibility & contrast
On white
3.57
#CA4FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#CA4FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA4FEF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA4FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA4FEF | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#C96D99
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ca4fef; /* rgb */ color: rgb(202, 79, 239); /* oklch */ color: oklch(65.6% 0.243 317.4);
Tailwind
colors: {
custom: {
50: '#de89f5',
500: '#ca4fef',
950: '#000000',
},
}SCSS
$custom: #ca4fef; $custom-light: #de89f5; $custom-dark: #000000;
JSON
{
"hex": "#ca4fef",
"rgb": {
"r": 202,
"g": 79,
"b": 239
},
"hsl": {
"h": 286.125,
"s": 83.333,
"l": 62.353
},
"oklch": {
"l": 0.65556,
"c": 0.24271,
"h": 317.4
},
"luminance": 0.24381
}Semantic roles & 50–950 ramp
primary
#CA4FEF
secondary
#BDEAB0
accent
#E00638
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85