#9850CC#9850CC
#9850CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.189 H 308.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9850CC |
|---|---|
| RGB | rgb(152, 80, 204) |
| HSL | hsl(275, 55%, 56%) |
| HSV | hsv(275, 61%, 80%) |
| CMYK | cmyk(25.5%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(47.97, 51.78, -52.70) |
| CIE-LCH | lch(47.97, 73.88, 314.49°) |
| OKLab | oklab(57.37% 0.1175 -0.1487) |
| OKLCH | oklch(57.37% 0.189 308.3) |
| XYZ | xyz(26.7144, 16.7728, 58.9452) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.44
Amethyst
#9B5FC0
ΔE00 4.64
Deep Lavender
#8D5EB7
ΔE00 5.14
Purpley
#8756E4
ΔE00 5.48
Darkorchid
#9932CC
ΔE00 5.67
Purply
#983FB2
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9850CC #84CC50
analogous
#5A50CC #9850CC #CC50C2
triadic
#9850CC #CC9850 #50CC98
tetradic
#9850CC #CC5A50 #84CC50 #50C2CC
square
#9850CC #CC5A50 #84CC50 #50C2CC
split-complementary
#9850CC #C2CC50 #50CC5A
monochromatic
#58247D #7932AD #9850CC #B47FDA #D0AFE8
Accessibility & contrast
On white
4.82
#9850CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9850CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9850CC
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9850CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9850CC | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#906887
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9850cc; /* rgb */ color: rgb(152, 80, 204); /* oklch */ color: oklch(57.4% 0.189 308.3);
Tailwind
colors: {
custom: {
50: '#ba85dc',
500: '#9850cc',
950: '#000000',
},
}SCSS
$custom: #9850cc; $custom-light: #ba85dc; $custom-dark: #000000;
JSON
{
"hex": "#9850cc",
"rgb": {
"r": 152,
"g": 80,
"b": 204
},
"hsl": {
"h": 274.839,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.57373,
"c": 0.18949,
"h": 308.3
},
"luminance": 0.16772
}Semantic roles & 50–950 ramp
primary
#9850CC
secondary
#B8D6A2
accent
#DE4A88
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83