#8337B7#8337B7
#8337B7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.195 H 308.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8337B7 |
|---|---|
| RGB | rgb(131, 55, 183) |
| HSL | hsl(276, 54%, 47%) |
| HSV | hsv(276, 70%, 72%) |
| CMYK | cmyk(28.4%, 69.9%, 0%, 28.2%) |
| CIE-LAB | lab(39.54, 54.34, -54.19) |
| CIE-LCH | lch(39.54, 76.74, 315.08°) |
| OKLab | oklab(50.28% 0.1201 -0.1536) |
| OKLCH | oklch(50.28% 0.195 308) |
| XYZ | xyz(19.2717, 10.9769, 45.8941) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.48
Purply
#983FB2
ΔE00 5.15
Darkviolet
#9400D3
ΔE00 5.47
Blueviolet
#8A2BE2
ΔE00 5.92
Purple (survey)
#7E1E9C
ΔE00 6.06
Rebeccapurple
#663399
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8337B7 #6BB737
analogous
#4337B7 #8337B7 #B737AB
triadic
#8337B7 #B78337 #37B783
tetradic
#8337B7 #B74337 #6BB737 #37ABB7
square
#8337B7 #B74337 #6BB737 #37ABB7
split-complementary
#8337B7 #ABB737 #37B743
monochromatic
#401B59 #612988 #8337B7 #A05DCE #BC8CDC
Accessibility & contrast
On white
6.57
#8337B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#8337B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8337B7
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8337B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8337B7 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#175EB4
Tritanopia (blue-blind)
#7B5473
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8337b7; /* rgb */ color: rgb(131, 55, 183); /* oklch */ color: oklch(50.3% 0.195 308.0);
Tailwind
colors: {
custom: {
50: '#ab74cd',
500: '#8337b7',
950: '#000000',
},
}SCSS
$custom: #8337b7; $custom-light: #ab74cd; $custom-dark: #000000;
JSON
{
"hex": "#8337b7",
"rgb": {
"r": 131,
"g": 55,
"b": 183
},
"hsl": {
"h": 275.625,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.50281,
"c": 0.19498,
"h": 308
},
"luminance": 0.10977
}Semantic roles & 50–950 ramp
primary
#8337B7
secondary
#9FC783
accent
#DD4B86
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82