#CF96F0#CF96F0
#CF96F0 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.0% C 0.138 H 312.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CF96F0 |
|---|---|
| RGB | rgb(207, 150, 240) |
| HSL | hsl(278, 75%, 76%) |
| HSV | hsv(278, 38%, 94%) |
| CMYK | cmyk(13.7%, 37.5%, 0%, 5.9%) |
| CIE-LAB | lab(70.43, 37.33, -37.02) |
| CIE-LCH | lch(70.43, 52.57, 315.24°) |
| OKLab | oklab(76.01% 0.0934 -0.1021) |
| OKLCH | oklch(76.01% 0.138 312.4) |
| XYZ | xyz(52.3640, 41.3703, 87.6479) |
| Luminance | 0.4137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.33
Lavender (survey)
#C79FEF
ΔE00 3.22
Lilac (survey)
#CEA2FD
ΔE00 3.64
Pastel Purple
#CAA0FF
ΔE00 4.03
Liliac
#C48EFD
ΔE00 4.49
Pale Purple
#B790D4
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF96F0 #B7F096
analogous
#A296F0 #CF96F0 #F096E4
triadic
#CF96F0 #F0CF96 #96F0CF
tetradic
#CF96F0 #F0A296 #B7F096 #96E4F0
square
#CF96F0 #F0A296 #B7F096 #96E4F0
split-complementary
#CF96F0 #E4F096 #96F0A2
monochromatic
#9E2BE1 #B760E8 #CF96F0 #E7CCF8 #F3E4FB
Accessibility & contrast
On white
2.26
#CF96F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#CF96F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF96F0
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF96F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF96F0 | 1.00 | 2.26 | 9.27 | 9.27 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86A9F3
Deuteranopia (green-blind)
#93AEED
Tritanopia (blue-blind)
#CCA2B8
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cf96f0; /* rgb */ color: rgb(207, 150, 240); /* oklch */ color: oklch(76.0% 0.138 312.4);
Tailwind
colors: {
custom: {
50: '#dfb5f5',
500: '#cf96f0',
950: '#000000',
},
}SCSS
$custom: #cf96f0; $custom-light: #dfb5f5; $custom-dark: #000000;
JSON
{
"hex": "#cf96f0",
"rgb": {
"r": 207,
"g": 150,
"b": 240
},
"hsl": {
"h": 278,
"s": 75,
"l": 76.471
},
"oklch": {
"l": 0.76011,
"c": 0.13836,
"h": 312.4
},
"luminance": 0.41369
}Semantic roles & 50–950 ramp
primary
#CF96F0
secondary
#E2F3D8
accent
#D70E58
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085