#CF95F2#CF95F2
#CF95F2 is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.9% C 0.142 H 312.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CF95F2 |
|---|---|
| RGB | rgb(207, 149, 242) |
| HSL | hsl(277, 78%, 77%) |
| HSV | hsv(277, 38%, 95%) |
| CMYK | cmyk(14.5%, 38.4%, 0%, 5.1%) |
| CIE-LAB | lab(70.30, 38.29, -38.33) |
| CIE-LCH | lch(70.30, 54.18, 314.97°) |
| OKLab | oklab(75.93% 0.0952 -0.1059) |
| OKLCH | oklch(75.93% 0.142 312) |
| XYZ | xyz(52.5038, 41.1720, 89.1683) |
| Luminance | 0.4117 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.26
Lavender (survey)
#C79FEF
ΔE00 3.48
Lilac (survey)
#CEA2FD
ΔE00 3.66
Pastel Purple
#CAA0FF
ΔE00 3.93
Liliac
#C48EFD
ΔE00 4.04
Pale Purple
#B790D4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF95F2 #B8F295
analogous
#A195F2 #CF95F2 #F295E7
triadic
#CF95F2 #F2CF95 #95F2CF
tetradic
#CF95F2 #F2A195 #B8F295 #95E7F2
square
#CF95F2 #F2A195 #B8F295 #95E7F2
split-complementary
#CF95F2 #E7F295 #95F2A1
monochromatic
#9E28E5 #B65EEB #CF95F2 #E8CCF9 #F3E4FC
Accessibility & contrast
On white
2.27
#CF95F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#CF95F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF95F2
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF95F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF95F2 | 1.00 | 2.27 | 9.23 | 9.23 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#CCA2B8
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cf95f2; /* rgb */ color: rgb(207, 149, 242); /* oklch */ color: oklch(75.9% 0.142 312.0);
Tailwind
colors: {
custom: {
50: '#dfb5f6',
500: '#cf95f2',
950: '#000000',
},
}SCSS
$custom: #cf95f2; $custom-light: #dfb5f6; $custom-dark: #000000;
JSON
{
"hex": "#cf95f2",
"rgb": {
"r": 207,
"g": 149,
"b": 242
},
"hsl": {
"h": 277.419,
"s": 78.151,
"l": 76.667
},
"oklch": {
"l": 0.75934,
"c": 0.14238,
"h": 312
},
"luminance": 0.41171
}Semantic roles & 50–950 ramp
primary
#CF95F2
secondary
#E2F3D8
accent
#DA0B59
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085