#CF74FE#CF74FE
#CF74FE is a light, highly saturated violet. Relative luminance 0.329; OKLCH L 71.5% C 0.208 H 312.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CF74FE |
|---|---|
| RGB | rgb(207, 116, 254) |
| HSL | hsl(280, 99%, 73%) |
| HSV | hsv(280, 54%, 100%) |
| CMYK | cmyk(18.5%, 54.3%, 0%, 0.4%) |
| CIE-LAB | lab(64.09, 58.04, -54.67) |
| CIE-LCH | lch(64.09, 79.73, 316.72°) |
| OKLab | oklab(71.49% 0.1414 -0.153) |
| OKLCH | oklch(71.49% 0.208 312.7) |
| XYZ | xyz(49.8638, 32.9132, 97.4729) |
| Luminance | 0.3291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.74
Easter Purple
#C071FE
ΔE00 2.86
Bright Lavender
#C760FF
ΔE00 4.44
Bright Lilac
#C95EFB
ΔE00 4.63
Light Urple
#B36FF6
ΔE00 5.11
Liliac
#C48EFD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF74FE #A3FE74
analogous
#8A74FE #CF74FE #FE74E8
triadic
#CF74FE #FECF74 #74FECF
tetradic
#CF74FE #FE8A74 #A3FE74 #74E8FE
square
#CF74FE #FE8A74 #A3FE74 #74E8FE
split-complementary
#CF74FE #E8FE74 #74FE8A
monochromatic
#A302F6 #BA37FE #CF74FE #E4B1FE #F5E1FF
Accessibility & contrast
On white
2.77
#CF74FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#CF74FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF74FE
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF74FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF74FE | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#CA8BAE
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cf74fe; /* rgb */ color: rgb(207, 116, 254); /* oklch */ color: oklch(71.5% 0.208 312.7);
Tailwind
colors: {
custom: {
50: '#e09fff',
500: '#cf74fe',
950: '#000000',
},
}SCSS
$custom: #cf74fe; $custom-light: #e09fff; $custom-dark: #000000;
JSON
{
"hex": "#cf74fe",
"rgb": {
"r": 207,
"g": 116,
"b": 254
},
"hsl": {
"h": 279.565,
"s": 98.571,
"l": 72.549
},
"oklch": {
"l": 0.71492,
"c": 0.20836,
"h": 312.7
},
"luminance": 0.32912
}Semantic roles & 50–950 ramp
primary
#CF74FE
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86