#CB7FC2#CB7FC2
#CB7FC2 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.8% C 0.128 H 331.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FC2 |
|---|---|
| RGB | rgb(203, 127, 194) |
| HSL | hsl(307, 42%, 65%) |
| HSV | hsv(307, 37%, 80%) |
| CMYK | cmyk(0%, 37.4%, 4.4%, 20.4%) |
| CIE-LAB | lab(63.15, 39.52, -22.76) |
| CIE-LCH | lch(63.15, 45.61, 330.06°) |
| OKLab | oklab(69.82% 0.1118 -0.0615) |
| OKLCH | oklch(69.82% 0.128 331.2) |
| XYZ | xyz(41.9551, 31.7723, 54.9512) |
| Luminance | 0.3177 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.02
Lavender Pink
#DD85D7
ΔE00 4.27
Orchid
#DA70D6
ΔE00 5.68
Pale Magenta
#D767AD
ΔE00 6.83
Wisteria
#A87DC2
ΔE00 7.83
Purply Pink
#F075E6
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FC2 #7FCB88
analogous
#AE7FCB #CB7FC2 #CB7F9C
triadic
#CB7FC2 #C2CB7F #7FC2CB
tetradic
#CB7FC2 #CBAE7F #7FCB88 #7F9CCB
square
#CB7FC2 #CBAE7F #7FCB88 #7F9CCB
split-complementary
#CB7FC2 #9CCB7F #7FCBAE
monochromatic
#943C89 #B953AD #CB7FC2 #DDABD7 #EED6EB
Accessibility & contrast
On white
2.86
#CB7FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#CB7FC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FC2
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FC2 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#909DC0
Tritanopia (blue-blind)
#D18498
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cb7fc2; /* rgb */ color: rgb(203, 127, 194); /* oklch */ color: oklch(69.8% 0.128 331.2);
Tailwind
colors: {
custom: {
50: '#dca5d4',
500: '#cb7fc2',
950: '#000000',
},
}SCSS
$custom: #cb7fc2; $custom-light: #dca5d4; $custom-dark: #000000;
JSON
{
"hex": "#cb7fc2",
"rgb": {
"r": 203,
"g": 127,
"b": 194
},
"hsl": {
"h": 307.105,
"s": 42.222,
"l": 64.706
},
"oklch": {
"l": 0.69818,
"c": 0.12762,
"h": 331.2
},
"luminance": 0.3177
}Semantic roles & 50–950 ramp
primary
#CB7FC2
secondary
#C6E0C9
accent
#B54030
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83