#8A35B5#8A35B5
#8A35B5 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.198 H 311.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A35B5 |
|---|---|
| RGB | rgb(138, 53, 181) |
| HSL | hsl(280, 55%, 46%) |
| HSV | hsv(280, 71%, 71%) |
| CMYK | cmyk(23.8%, 70.7%, 0%, 29%) |
| CIE-LAB | lab(40.06, 56.23, -52.13) |
| CIE-LCH | lch(40.06, 76.68, 317.16°) |
| OKLab | oklab(50.81% 0.1317 -0.1473) |
| OKLCH | oklch(50.81% 0.198 311.8) |
| XYZ | xyz(20.0933, 11.2862, 44.8271) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.92
Purply
#983FB2
ΔE00 3.98
Darkviolet
#9400D3
ΔE00 5.37
Purple (survey)
#7E1E9C
ΔE00 5.87
Barney
#AC1DB8
ΔE00 6.05
Blueviolet
#8A2BE2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A35B5 #60B535
analogous
#4A35B5 #8A35B5 #B535A0
triadic
#8A35B5 #B58A35 #35B58A
tetradic
#8A35B5 #B54A35 #60B535 #35A0B5
square
#8A35B5 #B54A35 #60B535 #35A0B5
split-complementary
#8A35B5 #A0B535 #35B54A
monochromatic
#421956 #662786 #8A35B5 #A759CE #C088DC
Accessibility & contrast
On white
6.45
#8A35B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8A35B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A35B5
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A35B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A35B5 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#855171
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8a35b5; /* rgb */ color: rgb(138, 53, 181); /* oklch */ color: oklch(50.8% 0.198 311.8);
Tailwind
colors: {
custom: {
50: '#b074cc',
500: '#8a35b5',
950: '#000000',
},
}SCSS
$custom: #8a35b5; $custom-light: #b074cc; $custom-dark: #000000;
JSON
{
"hex": "#8a35b5",
"rgb": {
"r": 138,
"g": 53,
"b": 181
},
"hsl": {
"h": 279.844,
"s": 54.701,
"l": 45.882
},
"oklch": {
"l": 0.5081,
"c": 0.1976,
"h": 311.8
},
"luminance": 0.11286
}Semantic roles & 50–950 ramp
primary
#8A35B5
secondary
#97C680
accent
#DE4A7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82