#8337BA#8337BA
#8337BA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.198 H 307.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8337BA |
|---|---|
| RGB | rgb(131, 55, 186) |
| HSL | hsl(275, 54%, 47%) |
| HSV | hsv(275, 70%, 73%) |
| CMYK | cmyk(29.6%, 70.4%, 0%, 27.1%) |
| CIE-LAB | lab(39.75, 55.02, -55.62) |
| CIE-LCH | lch(39.75, 78.23, 314.69°) |
| OKLab | oklab(50.5% 0.1197 -0.1578) |
| OKLCH | oklch(50.5% 0.198 307.2) |
| XYZ | xyz(19.5873, 11.1031, 47.5561) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.26
Darkviolet
#9400D3
ΔE00 5.24
Purply
#983FB2
ΔE00 5.33
Blueviolet
#8A2BE2
ΔE00 5.47
Purple (survey)
#7E1E9C
ΔE00 6.41
Bluey Purple
#6241C7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8337BA #6EBA37
analogous
#4137BA #8337BA #BA37B0
triadic
#8337BA #BA8337 #37BA83
tetradic
#8337BA #BA4137 #6EBA37 #37B0BA
square
#8337BA #BA4137 #6EBA37 #37B0BA
split-complementary
#8337BA #B0BA37 #37BA41
monochromatic
#401B5C #62298B #8337BA #A05FD0 #BC8EDE
Accessibility & contrast
On white
6.52
#8337BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#8337BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8337BA
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8337BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8337BA | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0E5EB7
Tritanopia (blue-blind)
#7A5575
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8337ba; /* rgb */ color: rgb(131, 55, 186); /* oklch */ color: oklch(50.5% 0.198 307.2);
Tailwind
colors: {
custom: {
50: '#ac74d0',
500: '#8337ba',
950: '#000000',
},
}SCSS
$custom: #8337ba; $custom-light: #ac74d0; $custom-dark: #000000;
JSON
{
"hex": "#8337ba",
"rgb": {
"r": 131,
"g": 55,
"b": 186
},
"hsl": {
"h": 274.809,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.505,
"c": 0.19805,
"h": 307.2
},
"luminance": 0.11103
}Semantic roles & 50–950 ramp
primary
#8337BA
secondary
#A1C885
accent
#DE4A88
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82