#9850CF#9850CF
#9850CF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.193 H 307.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9850CF |
|---|---|
| RGB | rgb(152, 80, 207) |
| HSL | hsl(274, 57%, 56%) |
| HSV | hsv(274, 61%, 81%) |
| CMYK | cmyk(26.6%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(48.16, 52.46, -54.13) |
| CIE-LCH | lch(48.16, 75.38, 314.10°) |
| OKLab | oklab(57.57% 0.1174 -0.1529) |
| OKLCH | oklch(57.57% 0.193 307.5) |
| XYZ | xyz(27.0777, 16.9181, 60.8584) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.07
Amethyst
#9B5FC0
ΔE00 4.87
Purpley
#8756E4
ΔE00 5.08
Deep Lavender
#8D5EB7
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.74
Purply
#983FB2
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9850CF #87CF50
analogous
#5950CF #9850CF #CF50C7
triadic
#9850CF #CF9850 #50CF98
tetradic
#9850CF #CF5950 #87CF50 #50C7CF
square
#9850CF #CF5950 #87CF50 #50C7CF
split-complementary
#9850CF #C7CF50 #50CF59
monochromatic
#592381 #7A31B1 #9850CF #B480DC #D1B0E9
Accessibility & contrast
On white
4.79
#9850CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9850CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9850CF
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9850CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9850CF | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#8F6988
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9850cf; /* rgb */ color: rgb(152, 80, 207); /* oklch */ color: oklch(57.6% 0.193 307.5);
Tailwind
colors: {
custom: {
50: '#ba85de',
500: '#9850cf',
950: '#000000',
},
}SCSS
$custom: #9850cf; $custom-light: #ba85de; $custom-dark: #000000;
JSON
{
"hex": "#9850cf",
"rgb": {
"r": 152,
"g": 80,
"b": 207
},
"hsl": {
"h": 274.016,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.57566,
"c": 0.19275,
"h": 307.5
},
"luminance": 0.16918
}Semantic roles & 50–950 ramp
primary
#9850CF
secondary
#BAD8A3
accent
#E0488A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83