#CF81F2#CF81F2
#CF81F2 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.175 H 314.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CF81F2 |
|---|---|
| RGB | rgb(207, 129, 242) |
| HSL | hsl(281, 81%, 73%) |
| HSV | hsv(281, 47%, 95%) |
| CMYK | cmyk(14.5%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(66.04, 48.94, -44.99) |
| CIE-LCH | lch(66.04, 66.47, 317.41°) |
| OKLab | oklab(72.74% 0.1231 -0.1249) |
| OKLCH | oklch(72.74% 0.175 314.6) |
| XYZ | xyz(49.6068, 35.3780, 88.2026) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.21
Liliac
#C48EFD
ΔE00 4.45
Easter Purple
#C071FE
ΔE00 5.53
Violet (CSS)
#EE82EE
ΔE00 6.06
Orchid
#DA70D6
ΔE00 6.53
Baby Purple
#CA9BF7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF81F2 #A4F281
analogous
#9681F2 #CF81F2 #F281DC
triadic
#CF81F2 #F2CF81 #81F2CF
tetradic
#CF81F2 #F29681 #A4F281 #81DCF2
square
#CF81F2 #F29681 #A4F281 #81DCF2
split-complementary
#CF81F2 #DCF281 #81F296
monochromatic
#A317E1 #BA4AEC #CF81F2 #E4B8F8 #F4E3FC
Accessibility & contrast
On white
2.60
#CF81F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#CF81F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF81F2
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF81F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF81F2 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#CD92AE
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf81f2; /* rgb */ color: rgb(207, 129, 242); /* oklch */ color: oklch(72.7% 0.175 314.6);
Tailwind
colors: {
custom: {
50: '#e0a7f7',
500: '#cf81f2',
950: '#000000',
},
}SCSS
$custom: #cf81f2; $custom-light: #e0a7f7; $custom-dark: #000000;
JSON
{
"hex": "#cf81f2",
"rgb": {
"r": 207,
"g": 129,
"b": 242
},
"hsl": {
"h": 281.416,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.72743,
"c": 0.1754,
"h": 314.6
},
"luminance": 0.35377
}Semantic roles & 50–950 ramp
primary
#CF81F2
secondary
#E0F4D7
accent
#DE084A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85