#9835B0#9835B0
#9835B0 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.198 H 319.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9835B0 |
|---|---|
| RGB | rgb(152, 53, 176) |
| HSL | hsl(288, 54%, 45%) |
| HSV | hsv(288, 70%, 69%) |
| CMYK | cmyk(13.6%, 69.9%, 0%, 31%) |
| CIE-LAB | lab(41.78, 58.22, -46.30) |
| CIE-LCH | lch(41.78, 74.39, 321.50°) |
| OKLab | oklab(52.35% 0.1498 -0.1297) |
| OKLCH | oklch(52.35% 0.198 319.1) |
| XYZ | xyz(22.0574, 12.3572, 42.2892) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.86
Barney
#AC1DB8
ΔE00 3.59
Darkorchid
#9932CC
ΔE00 4.41
Medium Purple
#9E43A2
ΔE00 4.63
Ugly Purple
#A442A0
ΔE00 5.73
Warm Purple
#952E8F
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9835B0 #4DB035
analogous
#5B35B0 #9835B0 #B0358A
triadic
#9835B0 #B09835 #35B098
tetradic
#9835B0 #B05B35 #4DB035 #358AB0
square
#9835B0 #B05B35 #4DB035 #358AB0
split-complementary
#9835B0 #8AB035 #35B05B
monochromatic
#471952 #6F2781 #9835B0 #B556CC #CA85DA
Accessibility & contrast
On white
6.05
#9835B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#9835B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9835B0
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9835B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9835B0 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#984C6F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9835b0; /* rgb */ color: rgb(152, 53, 176); /* oklch */ color: oklch(52.4% 0.198 319.1);
Tailwind
colors: {
custom: {
50: '#ba75c8',
500: '#9835b0',
950: '#000000',
},
}SCSS
$custom: #9835b0; $custom-light: #ba75c8; $custom-dark: #000000;
JSON
{
"hex": "#9835b0",
"rgb": {
"r": 152,
"g": 53,
"b": 176
},
"hsl": {
"h": 288.293,
"s": 53.712,
"l": 44.902
},
"oklch": {
"l": 0.52354,
"c": 0.19817,
"h": 319.1
},
"luminance": 0.12356
}Semantic roles & 50–950 ramp
primary
#9835B0
secondary
#8BC47D
accent
#DD4B67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82