#8337D9#8337D9
#8337D9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.230 H 299.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8337D9 |
|---|---|
| RGB | rgb(131, 55, 217) |
| HSL | hsl(268, 68%, 53%) |
| HSV | hsv(268, 75%, 85%) |
| CMYK | cmyk(39.6%, 74.7%, 0%, 14.9%) |
| CIE-LAB | lab(42.10, 62.24, -69.79) |
| CIE-LCH | lch(42.10, 93.52, 311.73°) |
| OKLab | oklab(52.9% 0.1138 -0.1994) |
| OKLCH | oklch(52.9% 0.23 299.7) |
| XYZ | xyz(23.2475, 12.5672, 66.8331) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 1.84
Bluish Purple
#703BE7
ΔE00 3.56
Violet (survey)
#9A0EEA
ΔE00 4.37
Darkorchid
#9932CC
ΔE00 4.50
Burple
#6832E3
ΔE00 4.50
Darkviolet
#9400D3
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8337D9 #8DD937
analogous
#373CD9 #8337D9 #D437D9
triadic
#8337D9 #D98337 #37D983
tetradic
#8337D9 #D9373C #8DD937 #37D9D4
square
#8337D9 #D9373C #8DD937 #37D9D4
split-complementary
#8337D9 #D9D437 #3CD937
monochromatic
#48187E #6522B1 #8337D9 #A36AE3 #C39EED
Accessibility & contrast
On white
5.98
#8337D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8337D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8337D9
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8337D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8337D9 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#6F6186
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8337d9; /* rgb */ color: rgb(131, 55, 217); /* oklch */ color: oklch(52.9% 0.230 299.7);
Tailwind
colors: {
custom: {
50: '#ae75e6',
500: '#8337d9',
950: '#000000',
},
}SCSS
$custom: #8337d9; $custom-light: #ae75e6; $custom-dark: #000000;
JSON
{
"hex": "#8337d9",
"rgb": {
"r": 131,
"g": 55,
"b": 217
},
"hsl": {
"h": 268.148,
"s": 68.067,
"l": 53.333
},
"oklch": {
"l": 0.52897,
"c": 0.2296,
"h": 299.7
},
"luminance": 0.12567
}Semantic roles & 50–950 ramp
primary
#8337D9
secondary
#B8D993
accent
#EB3D99
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84