#CD82FA#CD82FA
#CD82FA is a light, vivid violet. Relative luminance 0.358; OKLCH L 73.1% C 0.182 H 311.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CD82FA |
|---|---|
| RGB | rgb(205, 130, 250) |
| HSL | hsl(278, 92%, 75%) |
| HSV | hsv(278, 48%, 98%) |
| CMYK | cmyk(18%, 48%, 0%, 2%) |
| CIE-LAB | lab(66.40, 49.55, -48.83) |
| CIE-LCH | lch(66.40, 69.56, 315.42°) |
| OKLab | oklab(73.09% 0.1204 -0.1361) |
| OKLCH | oklch(73.09% 0.182 311.5) |
| XYZ | xyz(50.4117, 35.8475, 94.6876) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.49
Light Purple
#BF77F6
ΔE00 3.60
Easter Purple
#C071FE
ΔE00 4.80
Baby Purple
#CA9BF7
ΔE00 6.32
Light Urple
#B36FF6
ΔE00 6.59
Violet (CSS)
#EE82EE
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD82FA #AFFA82
analogous
#9182FA #CD82FA #FA82EB
triadic
#CD82FA #FACD82 #82FACD
tetradic
#CD82FA #FA9182 #AFFA82 #82EBFA
square
#CD82FA #FA9182 #AFFA82 #82EBFA
split-complementary
#CD82FA #EBFA82 #82FA91
monochromatic
#9E0CF5 #B547F8 #CD82FA #E5BDFC #F3E2FE
Accessibility & contrast
On white
2.57
#CD82FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#CD82FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD82FA
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD82FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD82FA | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#C895B2
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cd82fa; /* rgb */ color: rgb(205, 130, 250); /* oklch */ color: oklch(73.1% 0.182 311.5);
Tailwind
colors: {
custom: {
50: '#dea8fc',
500: '#cd82fa',
950: '#000000',
},
}SCSS
$custom: #cd82fa; $custom-light: #dea8fc; $custom-dark: #000000;
JSON
{
"hex": "#cd82fa",
"rgb": {
"r": 205,
"g": 130,
"b": 250
},
"hsl": {
"h": 277.5,
"s": 92.308,
"l": 74.51
},
"oklch": {
"l": 0.73086,
"c": 0.18175,
"h": 311.5
},
"luminance": 0.35847
}Semantic roles & 50–950 ramp
primary
#CD82FA
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85