#8A33B3#8A33B3
#8A33B3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.198 H 312.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33B3 |
|---|---|
| RGB | rgb(138, 51, 179) |
| HSL | hsl(281, 56%, 45%) |
| HSV | hsv(281, 72%, 70%) |
| CMYK | cmyk(22.9%, 71.5%, 0%, 29.8%) |
| CIE-LAB | lab(39.62, 56.64, -51.65) |
| CIE-LCH | lch(39.62, 76.65, 317.64°) |
| OKLab | oklab(50.46% 0.134 -0.1459) |
| OKLCH | oklch(50.46% 0.198 312.6) |
| XYZ | xyz(19.8003, 11.0262, 43.7243) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.13
Darkorchid
#9932CC
ΔE00 4.24
Darkviolet
#9400D3
ΔE00 5.38
Purple (survey)
#7E1E9C
ΔE00 5.41
Barney
#AC1DB8
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33B3 #5CB333
analogous
#4A33B3 #8A33B3 #B3339C
triadic
#8A33B3 #B38A33 #33B38A
tetradic
#8A33B3 #B34A33 #5CB333 #339CB3
square
#8A33B3 #B34A33 #5CB333 #339CB3
split-complementary
#8A33B3 #9CB333 #33B34A
monochromatic
#411854 #652583 #8A33B3 #A755CE #C084DC
Accessibility & contrast
On white
6.55
#8A33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8A33B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33B3
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33B3 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#854F70
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a33b3; /* rgb */ color: rgb(138, 51, 179); /* oklch */ color: oklch(50.5% 0.198 312.6);
Tailwind
colors: {
custom: {
50: '#b072ca',
500: '#8a33b3',
950: '#000000',
},
}SCSS
$custom: #8a33b3; $custom-light: #b072ca; $custom-dark: #000000;
JSON
{
"hex": "#8a33b3",
"rgb": {
"r": 138,
"g": 51,
"b": 179
},
"hsl": {
"h": 280.781,
"s": 55.652,
"l": 45.098
},
"oklch": {
"l": 0.50457,
"c": 0.19809,
"h": 312.6
},
"luminance": 0.11026
}Semantic roles & 50–950 ramp
primary
#8A33B3
secondary
#94C67C
accent
#DF4979
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82