#9851CF#9851CF
#9851CF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.191 H 307.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9851CF |
|---|---|
| RGB | rgb(152, 81, 207) |
| HSL | hsl(274, 57%, 56%) |
| HSV | hsv(274, 61%, 81%) |
| CMYK | cmyk(26.6%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(48.34, 51.96, -53.83) |
| CIE-LCH | lch(48.34, 74.82, 313.98°) |
| OKLab | oklab(57.7% 0.1162 -0.152) |
| OKLCH | oklch(57.7% 0.191 307.4) |
| XYZ | xyz(27.1515, 17.0656, 60.8830) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.99
Amethyst
#9B5FC0
ΔE00 4.69
Purpley
#8756E4
ΔE00 5.03
Deep Lavender
#8D5EB7
ΔE00 5.29
Darkorchid
#9932CC
ΔE00 5.97
Purply
#983FB2
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9851CF #88CF51
analogous
#5951CF #9851CF #CF51C7
triadic
#9851CF #CF9851 #51CF98
tetradic
#9851CF #CF5951 #88CF51 #51C7CF
square
#9851CF #CF5951 #88CF51 #51C7CF
split-complementary
#9851CF #C7CF51 #51CF59
monochromatic
#592482 #7A31B2 #9851CF #B481DC #D1B1E9
Accessibility & contrast
On white
4.76
#9851CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#9851CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9851CF
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9851CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9851CF | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#8F6A88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9851cf; /* rgb */ color: rgb(152, 81, 207); /* oklch */ color: oklch(57.7% 0.191 307.4);
Tailwind
colors: {
custom: {
50: '#ba85de',
500: '#9851cf',
950: '#000000',
},
}SCSS
$custom: #9851cf; $custom-light: #ba85de; $custom-dark: #000000;
JSON
{
"hex": "#9851cf",
"rgb": {
"r": 152,
"g": 81,
"b": 207
},
"hsl": {
"h": 273.81,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.57701,
"c": 0.19132,
"h": 307.4
},
"luminance": 0.17065
}Semantic roles & 50–950 ramp
primary
#9851CF
secondary
#BBD8A4
accent
#E0488A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83