#8335B6#8335B6
#8335B6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 50.0% C 0.196 H 308.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8335B6 |
|---|---|
| RGB | rgb(131, 53, 182) |
| HSL | hsl(276, 55%, 46%) |
| HSV | hsv(276, 71%, 71%) |
| CMYK | cmyk(28%, 70.9%, 0%, 28.6%) |
| CIE-LAB | lab(39.15, 55.00, -54.23) |
| CIE-LCH | lch(39.15, 77.24, 315.40°) |
| OKLab | oklab(49.98% 0.1224 -0.1537) |
| OKLCH | oklch(49.98% 0.196 308.5) |
| XYZ | xyz(19.0749, 10.7492, 45.3168) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.63
Purply
#983FB2
ΔE00 5.28
Darkviolet
#9400D3
ΔE00 5.33
Purple (survey)
#7E1E9C
ΔE00 5.68
Blueviolet
#8A2BE2
ΔE00 6.05
Rebeccapurple
#663399
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8335B6 #68B635
analogous
#4235B6 #8335B6 #B635A8
triadic
#8335B6 #B68335 #35B683
tetradic
#8335B6 #B64235 #68B635 #35A8B6
square
#8335B6 #B64235 #68B635 #35A8B6
split-complementary
#8335B6 #A8B635 #35B642
monochromatic
#3F1957 #612787 #8335B6 #A059CF #BB89DD
Accessibility & contrast
On white
6.67
#8335B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#8335B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8335B6
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8335B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8335B6 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#7B5272
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8335b6; /* rgb */ color: rgb(131, 53, 182); /* oklch */ color: oklch(50.0% 0.196 308.5);
Tailwind
colors: {
custom: {
50: '#ab73cd',
500: '#8335b6',
950: '#000000',
},
}SCSS
$custom: #8335b6; $custom-light: #ab73cd; $custom-dark: #000000;
JSON
{
"hex": "#8335b6",
"rgb": {
"r": 131,
"g": 53,
"b": 182
},
"hsl": {
"h": 276.279,
"s": 54.894,
"l": 46.078
},
"oklch": {
"l": 0.49984,
"c": 0.19644,
"h": 308.5
},
"luminance": 0.10749
}Semantic roles & 50–950 ramp
primary
#8335B6
secondary
#9CC780
accent
#DE4A84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82