#CD81F2#CD81F2
#CD81F2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.5% C 0.175 H 313.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CD81F2 |
|---|---|
| RGB | rgb(205, 129, 242) |
| HSL | hsl(280, 81%, 73%) |
| HSV | hsv(280, 47%, 95%) |
| CMYK | cmyk(15.3%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(65.82, 48.39, -45.35) |
| CIE-LCH | lch(65.82, 66.32, 316.85°) |
| OKLab | oklab(72.53% 0.1208 -0.126) |
| OKLCH | oklch(72.53% 0.175 313.8) |
| XYZ | xyz(49.0515, 35.0916, 88.1766) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.91
Liliac
#C48EFD
ΔE00 4.22
Easter Purple
#C071FE
ΔE00 5.28
Violet (CSS)
#EE82EE
ΔE00 6.44
Baby Purple
#CA9BF7
ΔE00 6.47
Orchid
#DA70D6
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD81F2 #A6F281
analogous
#9481F2 #CD81F2 #F281DE
triadic
#CD81F2 #F2CD81 #81F2CD
tetradic
#CD81F2 #F29481 #A6F281 #81DEF2
square
#CD81F2 #F29481 #A6F281 #81DEF2
split-complementary
#CD81F2 #DEF281 #81F294
monochromatic
#9F17E1 #B74AEC #CD81F2 #E3B8F8 #F4E3FC
Accessibility & contrast
On white
2.62
#CD81F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#CD81F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD81F2
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD81F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD81F2 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699CF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#CA92AE
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cd81f2; /* rgb */ color: rgb(205, 129, 242); /* oklch */ color: oklch(72.5% 0.175 313.8);
Tailwind
colors: {
custom: {
50: '#dea7f7',
500: '#cd81f2',
950: '#000000',
},
}SCSS
$custom: #cd81f2; $custom-light: #dea7f7; $custom-dark: #000000;
JSON
{
"hex": "#cd81f2",
"rgb": {
"r": 205,
"g": 129,
"b": 242
},
"hsl": {
"h": 280.354,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.72528,
"c": 0.17456,
"h": 313.8
},
"luminance": 0.3509
}Semantic roles & 50–950 ramp
primary
#CD81F2
secondary
#E0F4D7
accent
#DE084E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85