#9333AB#9333AB
#9333AB is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.194 H 318.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9333AB |
|---|---|
| RGB | rgb(147, 51, 171) |
| HSL | hsl(288, 54%, 44%) |
| HSV | hsv(288, 70%, 67%) |
| CMYK | cmyk(14%, 70.2%, 0%, 32.9%) |
| CIE-LAB | lab(40.43, 56.94, -45.54) |
| CIE-LCH | lch(40.43, 72.91, 321.35°) |
| OKLab | oklab(51.14% 0.1461 -0.1277) |
| OKLCH | oklch(51.14% 0.194 318.9) |
| XYZ | xyz(20.5662, 11.5119, 39.6589) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.82
Barney
#AC1DB8
ΔE00 4.37
Darkorchid
#9932CC
ΔE00 5.11
Medium Purple
#9E43A2
ΔE00 5.13
Warm Purple
#952E8F
ΔE00 5.44
Barney Purple
#A00498
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9333AB #4BAB33
analogous
#5733AB #9333AB #AB3387
triadic
#9333AB #AB9333 #33AB93
tetradic
#9333AB #AB5733 #4BAB33 #3387AB
square
#9333AB #AB5733 #4BAB33 #3387AB
split-complementary
#9333AB #87AB33 #33AB57
monochromatic
#42174D #6A257C #9333AB #B250CB #C77FD9
Accessibility & contrast
On white
6.36
#9333AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#9333AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9333AB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9333AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9333AB | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#934A6B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9333ab; /* rgb */ color: rgb(147, 51, 171); /* oklch */ color: oklch(51.1% 0.194 318.9);
Tailwind
colors: {
custom: {
50: '#b673c5',
500: '#9333ab',
950: '#000000',
},
}SCSS
$custom: #9333ab; $custom-light: #b673c5; $custom-dark: #000000;
JSON
{
"hex": "#9333ab",
"rgb": {
"r": 147,
"g": 51,
"b": 171
},
"hsl": {
"h": 288,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.51137,
"c": 0.19402,
"h": 318.9
},
"luminance": 0.11511
}Semantic roles & 50–950 ramp
primary
#9333AB
secondary
#87C278
accent
#DD4A68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82