#8A33AF#8A33AF
#8A33AF is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.194 H 313.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33AF |
|---|---|
| RGB | rgb(138, 51, 175) |
| HSL | hsl(282, 55%, 44%) |
| HSV | hsv(282, 71%, 69%) |
| CMYK | cmyk(21.1%, 70.9%, 0%, 31.4%) |
| CIE-LAB | lab(39.35, 55.80, -49.71) |
| CIE-LCH | lch(39.35, 74.73, 318.30°) |
| OKLab | oklab(50.18% 0.1345 -0.1402) |
| OKLCH | oklch(50.18% 0.194 313.8) |
| XYZ | xyz(19.4016, 10.8667, 41.6246) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.03
Darkorchid
#9932CC
ΔE00 4.75
Purple (survey)
#7E1E9C
ΔE00 5.05
Darkviolet
#9400D3
ΔE00 5.87
Barney
#AC1DB8
ΔE00 5.90
Medium Purple
#9E43A2
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33AF #58AF33
analogous
#4C33AF #8A33AF #AF3396
triadic
#8A33AF #AF8A33 #33AF8A
tetradic
#8A33AF #AF4C33 #58AF33 #3396AF
square
#8A33AF #AF4C33 #58AF33 #3396AF
split-complementary
#8A33AF #96AF33 #33AF4C
monochromatic
#3F1750 #652580 #8A33AF #A852CD #C082DB
Accessibility & contrast
On white
6.62
#8A33AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#8A33AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33AF
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33AF | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#864D6D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a33af; /* rgb */ color: rgb(138, 51, 175); /* oklch */ color: oklch(50.2% 0.194 313.8);
Tailwind
colors: {
custom: {
50: '#b072c8',
500: '#8a33af',
950: '#000000',
},
}SCSS
$custom: #8a33af; $custom-light: #b072c8; $custom-dark: #000000;
JSON
{
"hex": "#8a33af",
"rgb": {
"r": 138,
"g": 51,
"b": 175
},
"hsl": {
"h": 282.097,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.5018,
"c": 0.19426,
"h": 313.8
},
"luminance": 0.10866
}Semantic roles & 50–950 ramp
primary
#8A33AF
secondary
#90C47A
accent
#DE4A76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82