#C74FE2#C74FE2
#C74FE2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.230 H 319.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C74FE2 |
|---|---|
| RGB | rgb(199, 79, 226) |
| HSL | hsl(289, 72%, 60%) |
| HSV | hsv(289, 65%, 89%) |
| CMYK | cmyk(11.9%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(55.31, 67.58, -53.15) |
| CIE-LCH | lch(55.31, 85.97, 321.82°) |
| OKLab | oklab(64.4% 0.1756 -0.1486) |
| OKLCH | oklch(64.4% 0.23 319.8) |
| XYZ | xyz(40.0749, 23.2270, 74.3091) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.73
Pinkish Purple
#D648D7
ΔE00 3.48
Heliotrope
#D94FF5
ΔE00 3.74
Purple Pink
#D725DE
ΔE00 4.56
Bright Lilac
#C95EFB
ΔE00 4.72
Bright Lavender
#C760FF
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C74FE2 #6AE24F
analogous
#7E4FE2 #C74FE2 #E24FB3
triadic
#C74FE2 #E2C74F #4FE2C7
tetradic
#C74FE2 #E27E4F #6AE24F #4FB3E2
square
#C74FE2 #E27E4F #6AE24F #4FB3E2
split-complementary
#C74FE2 #B3E24F #4FE27E
monochromatic
#851A9D #B122D1 #C74FE2 #D884EB #E8B8F3
Accessibility & contrast
On white
3.72
#C74FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#C74FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C74FE2
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C74FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C74FE2 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#5B89DE
Tritanopia (blue-blind)
#C86992
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c74fe2; /* rgb */ color: rgb(199, 79, 226); /* oklch */ color: oklch(64.4% 0.230 319.8);
Tailwind
colors: {
custom: {
50: '#dc89ec',
500: '#c74fe2',
950: '#000000',
},
}SCSS
$custom: #c74fe2; $custom-light: #dc89ec; $custom-dark: #000000;
JSON
{
"hex": "#c74fe2",
"rgb": {
"r": 199,
"g": 79,
"b": 226
},
"hsl": {
"h": 288.98,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.64395,
"c": 0.23,
"h": 319.8
},
"luminance": 0.23225
}Semantic roles & 50–950 ramp
primary
#C74FE2
secondary
#B4E3AA
accent
#EE395B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84