#CF82F2#CF82F2
#CF82F2 is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.174 H 314.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CF82F2 |
|---|---|
| RGB | rgb(207, 130, 242) |
| HSL | hsl(281, 81%, 73%) |
| HSV | hsv(281, 46%, 95%) |
| CMYK | cmyk(14.5%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(66.25, 48.42, -44.67) |
| CIE-LCH | lch(66.25, 65.87, 317.31°) |
| OKLab | oklab(72.9% 0.1217 -0.124) |
| OKLCH | oklch(72.9% 0.174 314.5) |
| XYZ | xyz(49.7392, 35.6427, 88.2468) |
| Luminance | 0.3564 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.31
Light Purple
#BF77F6
ΔE00 4.36
Easter Purple
#C071FE
ΔE00 5.70
Violet (CSS)
#EE82EE
ΔE00 6.03
Baby Purple
#CA9BF7
ΔE00 6.32
Orchid
#DA70D6
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF82F2 #A5F282
analogous
#9782F2 #CF82F2 #F282DD
triadic
#CF82F2 #F2CF82 #82F2CF
tetradic
#CF82F2 #F29782 #A5F282 #82DDF2
square
#CF82F2 #F29782 #A5F282 #82DDF2
split-complementary
#CF82F2 #DDF282 #82F297
monochromatic
#A318E2 #BA4BEC #CF82F2 #E4B9F8 #F4E3FC
Accessibility & contrast
On white
2.58
#CF82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#CF82F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF82F2
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF82F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF82F2 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#CD93AF
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cf82f2; /* rgb */ color: rgb(207, 130, 242); /* oklch */ color: oklch(72.9% 0.174 314.5);
Tailwind
colors: {
custom: {
50: '#e0a8f7',
500: '#cf82f2',
950: '#000000',
},
}SCSS
$custom: #cf82f2; $custom-light: #e0a8f7; $custom-dark: #000000;
JSON
{
"hex": "#cf82f2",
"rgb": {
"r": 207,
"g": 130,
"b": 242
},
"hsl": {
"h": 281.25,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.72895,
"c": 0.17379,
"h": 314.5
},
"luminance": 0.35641
}Semantic roles & 50–950 ramp
primary
#CF82F2
secondary
#E0F4D7
accent
#DE084B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85