#9850BF#9850BF
#9850BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.175 H 312.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9850BF |
|---|---|
| RGB | rgb(152, 80, 191) |
| HSL | hsl(279, 46%, 53%) |
| HSV | hsv(279, 58%, 75%) |
| CMYK | cmyk(20.4%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(47.20, 48.87, -46.43) |
| CIE-LCH | lch(47.20, 67.41, 316.47°) |
| OKLab | oklab(56.57% 0.1175 -0.1303) |
| OKLCH | oklch(56.57% 0.175 312) |
| XYZ | xyz(25.2198, 16.1749, 51.0736) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 4.29
Purply
#983FB2
ΔE00 4.38
Darkorchid
#9932CC
ΔE00 5.95
Lightish Purple
#A552E6
ΔE00 6.30
Medium Purple
#9E43A2
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9850BF #77BF50
analogous
#6050BF #9850BF #BF50AE
triadic
#9850BF #BF9850 #50BF98
tetradic
#9850BF #BF6050 #77BF50 #50AEBF
square
#9850BF #BF6050 #77BF50 #50AEBF
split-complementary
#9850BF #AEBF50 #50BF60
monochromatic
#55286D #77389A #9850BF #B27DCF #CDAAE0
Accessibility & contrast
On white
4.96
#9850BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#9850BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9850BF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9850BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9850BF | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#946480
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9850bf; /* rgb */ color: rgb(152, 80, 191); /* oklch */ color: oklch(56.6% 0.175 312.0);
Tailwind
colors: {
custom: {
50: '#b984d3',
500: '#9850bf',
950: '#000000',
},
}SCSS
$custom: #9850bf; $custom-light: #b984d3; $custom-dark: #000000;
JSON
{
"hex": "#9850bf",
"rgb": {
"r": 152,
"g": 80,
"b": 191
},
"hsl": {
"h": 278.919,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.56565,
"c": 0.17541,
"h": 312
},
"luminance": 0.16174
}Semantic roles & 50–950 ramp
primary
#9850BF
secondary
#AECD9D
accent
#D65280
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83