#8A33C3#8A33C3
#8A33C3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.213 H 308.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33C3 |
|---|---|
| RGB | rgb(138, 51, 195) |
| HSL | hsl(276, 59%, 48%) |
| HSV | hsv(276, 74%, 76%) |
| CMYK | cmyk(29.2%, 73.8%, 0%, 23.5%) |
| CIE-LAB | lab(40.75, 60.09, -59.22) |
| CIE-LCH | lch(40.75, 84.37, 315.41°) |
| OKLab | oklab(51.62% 0.1316 -0.1681) |
| OKLCH | oklch(51.62% 0.214 308.1) |
| XYZ | xyz(21.5133, 11.7114, 52.7464) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.84
Darkviolet
#9400D3
ΔE00 4.01
Blueviolet
#8A2BE2
ΔE00 4.22
Purply
#983FB2
ΔE00 5.22
Violet (survey)
#9A0EEA
ΔE00 5.41
Vibrant Purple
#AD03DE
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33C3 #6CC333
analogous
#4233C3 #8A33C3 #C333B4
triadic
#8A33C3 #C38A33 #33C38A
tetradic
#8A33C3 #C34233 #6CC333 #33B4C3
square
#8A33C3 #C34233 #6CC333 #33B4C3
split-complementary
#8A33C3 #B4C333 #33C342
monochromatic
#451A62 #682692 #8A33C3 #A65ED5 #C18FE2
Accessibility & contrast
On white
6.28
#8A33C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#8A33C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33C3
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33C3 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#815579
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a33c3; /* rgb */ color: rgb(138, 51, 195); /* oklch */ color: oklch(51.6% 0.213 308.1);
Tailwind
colors: {
custom: {
50: '#b173d6',
500: '#8a33c3',
950: '#000000',
},
}SCSS
$custom: #8a33c3; $custom-light: #b173d6; $custom-dark: #000000;
JSON
{
"hex": "#8a33c3",
"rgb": {
"r": 138,
"g": 51,
"b": 195
},
"hsl": {
"h": 276.25,
"s": 58.537,
"l": 48.235
},
"oklch": {
"l": 0.51615,
"c": 0.2135,
"h": 308.1
},
"luminance": 0.11711
}Semantic roles & 50–950 ramp
primary
#8A33C3
secondary
#A2CC86
accent
#E24684
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83