#9334AB#9334AB
#9334AB is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.193 H 318.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9334AB |
|---|---|
| RGB | rgb(147, 52, 171) |
| HSL | hsl(288, 53%, 44%) |
| HSV | hsv(288, 70%, 67%) |
| CMYK | cmyk(14%, 69.6%, 0%, 32.9%) |
| CIE-LAB | lab(40.57, 56.54, -45.31) |
| CIE-LCH | lch(40.57, 72.45, 321.29°) |
| OKLab | oklab(51.24% 0.145 -0.127) |
| OKLCH | oklch(51.24% 0.193 318.8) |
| XYZ | xyz(20.6103, 11.6002, 39.6736) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.67
Barney
#AC1DB8
ΔE00 4.39
Medium Purple
#9E43A2
ΔE00 5.00
Darkorchid
#9932CC
ΔE00 5.10
Warm Purple
#952E8F
ΔE00 5.45
Barney Purple
#A00498
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9334AB #4CAB34
analogous
#5734AB #9334AB #AB3487
triadic
#9334AB #AB9334 #34AB93
tetradic
#9334AB #AB5734 #4CAB34 #3487AB
square
#9334AB #AB5734 #4CAB34 #3487AB
split-complementary
#9334AB #87AB34 #34AB57
monochromatic
#42174D #6B267C #9334AB #B252CA #C781D9
Accessibility & contrast
On white
6.33
#9334AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9334AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9334AB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9334AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9334AB | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#934A6C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9334ab; /* rgb */ color: rgb(147, 52, 171); /* oklch */ color: oklch(51.2% 0.193 318.8);
Tailwind
colors: {
custom: {
50: '#b674c5',
500: '#9334ab',
950: '#000000',
},
}SCSS
$custom: #9334ab; $custom-light: #b674c5; $custom-dark: #000000;
JSON
{
"hex": "#9334ab",
"rgb": {
"r": 147,
"g": 52,
"b": 171
},
"hsl": {
"h": 287.899,
"s": 53.363,
"l": 43.725
},
"oklch": {
"l": 0.5124,
"c": 0.19278,
"h": 318.8
},
"luminance": 0.11599
}Semantic roles & 50–950 ramp
primary
#9334AB
secondary
#88C279
accent
#DD4B68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82