#9850CB#9850CB
#9850CB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.188 H 308.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9850CB |
|---|---|
| RGB | rgb(152, 80, 203) |
| HSL | hsl(275, 54%, 55%) |
| HSV | hsv(275, 61%, 80%) |
| CMYK | cmyk(25.1%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.91, 51.55, -52.23) |
| CIE-LCH | lch(47.91, 73.38, 314.63°) |
| OKLab | oklab(57.31% 0.1175 -0.1473) |
| OKLCH | oklch(57.31% 0.188 308.6) |
| XYZ | xyz(26.5949, 16.7249, 58.3155) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 4.57
Deep Lavender
#8D5EB7
ΔE00 5.05
Purpley
#8756E4
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.66
Purply
#983FB2
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9850CB #83CB50
analogous
#5A50CB #9850CB #CB50C0
triadic
#9850CB #CB9850 #50CB98
tetradic
#9850CB #CB5A50 #83CB50 #50C0CB
square
#9850CB #CB5A50 #83CB50 #50C0CB
split-complementary
#9850CB #C0CB50 #50CB5A
monochromatic
#58257C #7933AB #9850CB #B47FD9 #D0AEE7
Accessibility & contrast
On white
4.83
#9850CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9850CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9850CB
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9850CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9850CB | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#916886
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9850cb; /* rgb */ color: rgb(152, 80, 203); /* oklch */ color: oklch(57.3% 0.188 308.6);
Tailwind
colors: {
custom: {
50: '#ba85db',
500: '#9850cb',
950: '#000000',
},
}SCSS
$custom: #9850cb; $custom-light: #ba85db; $custom-dark: #000000;
JSON
{
"hex": "#9850cb",
"rgb": {
"r": 152,
"g": 80,
"b": 203
},
"hsl": {
"h": 275.122,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.57309,
"c": 0.18841,
"h": 308.6
},
"luminance": 0.16725
}Semantic roles & 50–950 ramp
primary
#9850CB
secondary
#B7D5A2
accent
#DE4A87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83