#CF82FC#CF82FC
#CF82FC is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.4% C 0.185 H 311.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CF82FC |
|---|---|
| RGB | rgb(207, 130, 252) |
| HSL | hsl(278, 95%, 75%) |
| HSV | hsv(278, 48%, 99%) |
| CMYK | cmyk(17.9%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(66.72, 50.51, -49.41) |
| CIE-LCH | lch(66.72, 70.65, 315.63°) |
| OKLab | oklab(73.4% 0.123 -0.1378) |
| OKLCH | oklch(73.4% 0.185 311.8) |
| XYZ | xyz(51.2823, 36.2600, 96.3740) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.62
Light Purple
#BF77F6
ΔE00 3.82
Easter Purple
#C071FE
ΔE00 4.91
Baby Purple
#CA9BF7
ΔE00 6.40
Light Urple
#B36FF6
ΔE00 6.80
Violet (CSS)
#EE82EE
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF82FC #AFFC82
analogous
#9282FC #CF82FC #FC82EC
triadic
#CF82FC #FCCF82 #82FCCF
tetradic
#CF82FC #FC9282 #AFFC82 #82ECFC
square
#CF82FC #FC9282 #AFFC82 #82ECFC
split-complementary
#CF82FC #ECFC82 #82FC92
monochromatic
#A10AF9 #B846FB #CF82FC #E6BEFD #F4E1FE
Accessibility & contrast
On white
2.54
#CF82FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#CF82FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF82FC
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF82FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF82FC | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#CA95B3
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #cf82fc; /* rgb */ color: rgb(207, 130, 252); /* oklch */ color: oklch(73.4% 0.185 311.8);
Tailwind
colors: {
custom: {
50: '#e0a8fe',
500: '#cf82fc',
950: '#000000',
},
}SCSS
$custom: #cf82fc; $custom-light: #e0a8fe; $custom-dark: #000000;
JSON
{
"hex": "#cf82fc",
"rgb": {
"r": 207,
"g": 130,
"b": 252
},
"hsl": {
"h": 277.869,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.734,
"c": 0.18471,
"h": 311.8
},
"luminance": 0.36259
}Semantic roles & 50–950 ramp
primary
#CF82FC
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86