#CF97E2#CF97E2
#CF97E2 is a light, vivid purple. Relative luminance 0.409; OKLCH L 75.6% C 0.121 H 317.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CF97E2 |
|---|---|
| RGB | rgb(207, 151, 226) |
| HSL | hsl(285, 56%, 74%) |
| HSV | hsv(285, 33%, 89%) |
| CMYK | cmyk(8.4%, 33.2%, 0%, 11.4%) |
| CIE-LAB | lab(70.10, 33.92, -29.87) |
| CIE-LCH | lch(70.10, 45.19, 318.63°) |
| OKLab | oklab(75.57% 0.0887 -0.0817) |
| OKLCH | oklch(75.57% 0.121 317.3) |
| XYZ | xyz(50.5242, 40.8908, 77.1679) |
| Luminance | 0.4089 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 4.18
Plum
#DDA0DD
ΔE00 4.58
Baby Purple
#CA9BF7
ΔE00 4.73
Pale Purple
#B790D4
ΔE00 4.74
Lilac (survey)
#CEA2FD
ΔE00 5.59
Lavender Pink
#DD85D7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF97E2 #AAE297
analogous
#AA97E2 #CF97E2 #E297D0
triadic
#CF97E2 #E2CF97 #97E2CF
tetradic
#CF97E2 #E2AA97 #AAE297 #97D0E2
square
#CF97E2 #E2AA97 #AAE297 #97D0E2
split-complementary
#CF97E2 #D0E297 #97E2AA
monochromatic
#A338C7 #B967D5 #CF97E2 #E5C7EF #F4E7F8
Accessibility & contrast
On white
2.29
#CF97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#CF97E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF97E2
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF97E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF97E2 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA8E5
Deuteranopia (green-blind)
#9AADE0
Tritanopia (blue-blind)
#CFA0B3
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #cf97e2; /* rgb */ color: rgb(207, 151, 226); /* oklch */ color: oklch(75.6% 0.121 317.3);
Tailwind
colors: {
custom: {
50: '#deb6eb',
500: '#cf97e2',
950: '#000000',
},
}SCSS
$custom: #cf97e2; $custom-light: #deb6eb; $custom-dark: #000000;
JSON
{
"hex": "#cf97e2",
"rgb": {
"r": 207,
"g": 151,
"b": 226
},
"hsl": {
"h": 284.8,
"s": 56.391,
"l": 73.922
},
"oklch": {
"l": 0.75573,
"c": 0.1206,
"h": 317.3
},
"luminance": 0.4089
}Semantic roles & 50–950 ramp
primary
#CF97E2
secondary
#E1F0DB
accent
#C4224B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084