#CB7FC5#CB7FC5
#CB7FC5 is a light, vivid purple. Relative luminance 0.319; OKLCH L 69.9% C 0.130 H 329.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FC5 |
|---|---|
| RGB | rgb(203, 127, 197) |
| HSL | hsl(305, 42%, 65%) |
| HSV | hsv(305, 37%, 80%) |
| CMYK | cmyk(0%, 37.4%, 3%, 20.4%) |
| CIE-LAB | lab(63.27, 40.06, -24.28) |
| CIE-LCH | lch(63.27, 46.84, 328.78°) |
| OKLab | oklab(69.94% 0.1126 -0.0658) |
| OKLCH | oklch(69.94% 0.13 329.7) |
| XYZ | xyz(42.2954, 31.9084, 56.7436) |
| Luminance | 0.3191 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.71
Lavender Pink
#DD85D7
ΔE00 3.92
Orchid
#DA70D6
ΔE00 5.22
Pale Magenta
#D767AD
ΔE00 7.20
Purply Pink
#F075E6
ΔE00 7.51
Wisteria
#A87DC2
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FC5 #7FCB85
analogous
#AB7FCB #CB7FC5 #CB7F9F
triadic
#CB7FC5 #C5CB7F #7FC5CB
tetradic
#CB7FC5 #CBAB7F #7FCB85 #7F9FCB
square
#CB7FC5 #CBAB7F #7FCB85 #7F9FCB
split-complementary
#CB7FC5 #9FCB7F #7FCBAB
monochromatic
#943C8D #B953B1 #CB7FC5 #DDABD9 #EED6EC
Accessibility & contrast
On white
2.85
#CB7FC5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#CB7FC5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FC5
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FC5 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C93C8
Deuteranopia (green-blind)
#8F9DC3
Tritanopia (blue-blind)
#D08599
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cb7fc5; /* rgb */ color: rgb(203, 127, 197); /* oklch */ color: oklch(69.9% 0.130 329.7);
Tailwind
colors: {
custom: {
50: '#dca5d6',
500: '#cb7fc5',
950: '#000000',
},
}SCSS
$custom: #cb7fc5; $custom-light: #dca5d6; $custom-dark: #000000;
JSON
{
"hex": "#cb7fc5",
"rgb": {
"r": 203,
"g": 127,
"b": 197
},
"hsl": {
"h": 304.737,
"s": 42.222,
"l": 64.706
},
"oklch": {
"l": 0.69941,
"c": 0.1304,
"h": 329.7
},
"luminance": 0.31906
}Semantic roles & 50–950 ramp
primary
#CB7FC5
secondary
#C6E0C8
accent
#B53B30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83