#CB7ABE#CB7ABE
#CB7ABE is a light, vivid purple. Relative luminance 0.303; OKLCH L 68.9% C 0.133 H 333.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7ABE |
|---|---|
| RGB | rgb(203, 122, 190) |
| HSL | hsl(310, 44%, 64%) |
| HSV | hsv(310, 40%, 80%) |
| CMYK | cmyk(0%, 39.9%, 6.4%, 20.4%) |
| CIE-LAB | lab(61.94, 41.47, -22.35) |
| CIE-LCH | lch(61.94, 47.11, 331.67°) |
| OKLab | oklab(68.86% 0.1183 -0.0604) |
| OKLCH | oklch(68.86% 0.133 333) |
| XYZ | xyz(40.8821, 30.3354, 52.4071) |
| Luminance | 0.3033 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.46
Lavender Pink
#DD85D7
ΔE00 5.07
Orchid
#DA70D6
ΔE00 5.44
Pale Magenta
#D767AD
ΔE00 5.63
Purplish Pink
#CE5DAE
ΔE00 6.80
Purply Pink
#F075E6
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7ABE #7ACB87
analogous
#AF7ACB #CB7ABE #CB7A95
triadic
#CB7ABE #BECB7A #7ABECB
tetradic
#CB7ABE #CBAF7A #7ACB87 #7A95CB
square
#CB7ABE #CBAF7A #7ACB87 #7A95CB
split-complementary
#CB7ABE #95CB7A #7ACBAF
monochromatic
#923983 #BA4EA8 #CB7ABE #DCA6D4 #EDD2E9
Accessibility & contrast
On white
2.97
#CB7ABE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#CB7ABE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7ABE
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7ABE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7ABE | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798EC0
Deuteranopia (green-blind)
#8E9ABC
Tritanopia (blue-blind)
#D27E93
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #cb7abe; /* rgb */ color: rgb(203, 122, 190); /* oklch */ color: oklch(68.9% 0.133 333.0);
Tailwind
colors: {
custom: {
50: '#dca2d1',
500: '#cb7abe',
950: '#000000',
},
}SCSS
$custom: #cb7abe; $custom-light: #dca2d1; $custom-dark: #000000;
JSON
{
"hex": "#cb7abe",
"rgb": {
"r": 203,
"g": 122,
"b": 190
},
"hsl": {
"h": 309.63,
"s": 43.784,
"l": 63.725
},
"oklch": {
"l": 0.68856,
"c": 0.13284,
"h": 333
},
"luminance": 0.30333
}Semantic roles & 50–950 ramp
primary
#CB7ABE
secondary
#C2DFC7
accent
#B7442F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82