#CB7ED5#CB7ED5
#CB7ED5 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.148 H 322.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7ED5 |
|---|---|
| RGB | rgb(203, 126, 213) |
| HSL | hsl(293, 51%, 66%) |
| HSV | hsv(293, 41%, 84%) |
| CMYK | cmyk(4.7%, 40.8%, 0%, 16.5%) |
| CIE-LAB | lab(63.69, 43.58, -32.61) |
| CIE-LCH | lch(63.69, 54.43, 323.20°) |
| OKLab | oklab(70.47% 0.1177 -0.0894) |
| OKLCH | oklch(70.47% 0.148 322.8) |
| XYZ | xyz(44.0984, 32.4240, 66.8734) |
| Luminance | 0.3242 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.49
Orchid
#DA70D6
ΔE00 3.87
Lavender Pink
#DD85D7
ΔE00 3.96
Violet (CSS)
#EE82EE
ΔE00 6.21
Purply Pink
#F075E6
ΔE00 6.25
Pale Purple
#B790D4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7ED5 #88D57E
analogous
#A07ED5 #CB7ED5 #D57EB4
triadic
#CB7ED5 #D5CB7E #7ED5CB
tetradic
#CB7ED5 #D5A07E #88D57E #7EB4D5
square
#CB7ED5 #D5A07E #88D57E #7EB4D5
split-complementary
#CB7ED5 #B4D57E #7ED5A0
monochromatic
#9735A3 #B850C6 #CB7ED5 #DEACE4 #F0DAF3
Accessibility & contrast
On white
2.81
#CB7ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#CB7ED5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7ED5
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7ED5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7ED5 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7495D8
Deuteranopia (green-blind)
#889DD2
Tritanopia (blue-blind)
#CE88A0
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cb7ed5; /* rgb */ color: rgb(203, 126, 213); /* oklch */ color: oklch(70.5% 0.148 322.8);
Tailwind
colors: {
custom: {
50: '#dca5e2',
500: '#cb7ed5',
950: '#000000',
},
}SCSS
$custom: #cb7ed5; $custom-light: #dca5e2; $custom-dark: #000000;
JSON
{
"hex": "#cb7ed5",
"rgb": {
"r": 203,
"g": 126,
"b": 213
},
"hsl": {
"h": 293.103,
"s": 50.877,
"l": 66.471
},
"oklch": {
"l": 0.70469,
"c": 0.14782,
"h": 322.8
},
"luminance": 0.32422
}Semantic roles & 50–950 ramp
primary
#CB7ED5
secondary
#CDE6C9
accent
#BE2739
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83