#CD7BF0#CD7BF0
#CD7BF0 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.182 H 315.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BF0 |
|---|---|
| RGB | rgb(205, 123, 240) |
| HSL | hsl(282, 80%, 71%) |
| HSV | hsv(282, 49%, 94%) |
| CMYK | cmyk(14.6%, 48.7%, 0%, 5.9%) |
| CIE-LAB | lab(64.51, 51.09, -46.31) |
| CIE-LCH | lch(64.51, 68.95, 317.81°) |
| OKLab | oklab(71.53% 0.1287 -0.1288) |
| OKLCH | oklch(71.53% 0.182 315) |
| XYZ | xyz(47.9855, 33.4376, 86.3475) |
| Luminance | 0.3344 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.36
Easter Purple
#C071FE
ΔE00 4.58
Liliac
#C48EFD
ΔE00 5.38
Orchid
#DA70D6
ΔE00 6.02
Light Urple
#B36FF6
ΔE00 6.20
Bright Lilac
#C95EFB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BF0 #9EF07B
analogous
#927BF0 #CD7BF0 #F07BD8
triadic
#CD7BF0 #F0CD7B #7BF0CD
tetradic
#CD7BF0 #F0927B #9EF07B #7BD8F0
square
#CD7BF0 #F0927B #9EF07B #7BD8F0
split-complementary
#CD7BF0 #D8F07B #7BF092
monochromatic
#9F19D8 #B844EA #CD7BF0 #E2B2F6 #F5E4FC
Accessibility & contrast
On white
2.73
#CD7BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CD7BF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BF0
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BF0 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F4
Deuteranopia (green-blind)
#7A9FED
Tritanopia (blue-blind)
#CB8DAB
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd7bf0; /* rgb */ color: rgb(205, 123, 240); /* oklch */ color: oklch(71.5% 0.182 315.0);
Tailwind
colors: {
custom: {
50: '#dea3f5',
500: '#cd7bf0',
950: '#000000',
},
}SCSS
$custom: #cd7bf0; $custom-light: #dea3f5; $custom-dark: #000000;
JSON
{
"hex": "#cd7bf0",
"rgb": {
"r": 205,
"g": 123,
"b": 240
},
"hsl": {
"h": 282.051,
"s": 79.592,
"l": 71.176
},
"oklch": {
"l": 0.71527,
"c": 0.18203,
"h": 315
},
"luminance": 0.33436
}Semantic roles & 50–950 ramp
primary
#CD7BF0
secondary
#DDF3D4
accent
#DC0A49
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85