#9834B0#9834B0
#9834B0 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.199 H 319.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9834B0 |
|---|---|
| RGB | rgb(152, 52, 176) |
| HSL | hsl(288, 54%, 45%) |
| HSV | hsv(288, 70%, 69%) |
| CMYK | cmyk(13.6%, 70.5%, 0%, 31%) |
| CIE-LAB | lab(41.64, 58.62, -46.53) |
| CIE-LCH | lch(41.64, 74.84, 321.56°) |
| OKLab | oklab(52.25% 0.1508 -0.1304) |
| OKLCH | oklch(52.25% 0.199 319.2) |
| XYZ | xyz(22.0123, 12.2670, 42.2742) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.02
Barney
#AC1DB8
ΔE00 3.54
Darkorchid
#9932CC
ΔE00 4.41
Medium Purple
#9E43A2
ΔE00 4.75
Ugly Purple
#A442A0
ΔE00 5.83
Warm Purple
#952E8F
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9834B0 #4CB034
analogous
#5A34B0 #9834B0 #B0348A
triadic
#9834B0 #B09834 #34B098
tetradic
#9834B0 #B05A34 #4CB034 #348AB0
square
#9834B0 #B05A34 #4CB034 #348AB0
split-complementary
#9834B0 #8AB034 #34B05A
monochromatic
#461852 #6F2681 #9834B0 #B555CD #CA84DB
Accessibility & contrast
On white
6.08
#9834B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#9834B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9834B0
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9834B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9834B0 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3C66AD
Tritanopia (blue-blind)
#984C6E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9834b0; /* rgb */ color: rgb(152, 52, 176); /* oklch */ color: oklch(52.3% 0.199 319.2);
Tailwind
colors: {
custom: {
50: '#ba74c8',
500: '#9834b0',
950: '#000000',
},
}SCSS
$custom: #9834b0; $custom-light: #ba74c8; $custom-dark: #000000;
JSON
{
"hex": "#9834b0",
"rgb": {
"r": 152,
"g": 52,
"b": 176
},
"hsl": {
"h": 288.387,
"s": 54.386,
"l": 44.706
},
"oklch": {
"l": 0.52253,
"c": 0.1994,
"h": 319.2
},
"luminance": 0.12266
}Semantic roles & 50–950 ramp
primary
#9834B0
secondary
#8AC47C
accent
#DE4A67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82