#8A35B7#8A35B7
#8A35B7 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.200 H 311.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A35B7 |
|---|---|
| RGB | rgb(138, 53, 183) |
| HSL | hsl(279, 55%, 46%) |
| HSV | hsv(279, 71%, 72%) |
| CMYK | cmyk(24.6%, 71%, 0%, 28.2%) |
| CIE-LAB | lab(40.20, 56.66, -53.09) |
| CIE-LCH | lch(40.20, 77.64, 316.86°) |
| OKLab | oklab(50.95% 0.1315 -0.1501) |
| OKLCH | oklch(50.95% 0.2 311.2) |
| XYZ | xyz(20.3000, 11.3689, 45.9156) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.69
Purply
#983FB2
ΔE00 4.09
Darkviolet
#9400D3
ΔE00 5.17
Purple (survey)
#7E1E9C
ΔE00 6.07
Blueviolet
#8A2BE2
ΔE00 6.08
Barney
#AC1DB8
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A35B7 #62B735
analogous
#4935B7 #8A35B7 #B735A3
triadic
#8A35B7 #B78A35 #35B78A
tetradic
#8A35B7 #B74935 #62B735 #35A3B7
square
#8A35B7 #B74935 #62B735 #35A3B7
split-complementary
#8A35B7 #A3B735 #35B749
monochromatic
#421A58 #662788 #8A35B7 #A75ACF #C089DD
Accessibility & contrast
On white
6.41
#8A35B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8A35B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A35B7
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A35B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A35B7 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2260B4
Tritanopia (blue-blind)
#845172
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a35b7; /* rgb */ color: rgb(138, 53, 183); /* oklch */ color: oklch(50.9% 0.200 311.2);
Tailwind
colors: {
custom: {
50: '#b074cd',
500: '#8a35b7',
950: '#000000',
},
}SCSS
$custom: #8a35b7; $custom-light: #b074cd; $custom-dark: #000000;
JSON
{
"hex": "#8a35b7",
"rgb": {
"r": 138,
"g": 53,
"b": 183
},
"hsl": {
"h": 279.231,
"s": 55.085,
"l": 46.275
},
"oklch": {
"l": 0.5095,
"c": 0.19955,
"h": 311.2
},
"luminance": 0.11368
}Semantic roles & 50–950 ramp
primary
#8A35B7
secondary
#99C781
accent
#DE497D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82