#8035B1#8035B1
#8035B1 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.191 H 308.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8035B1 |
|---|---|
| RGB | rgb(128, 53, 177) |
| HSL | hsl(276, 54%, 45%) |
| HSV | hsv(276, 70%, 69%) |
| CMYK | cmyk(27.7%, 70.1%, 0%, 30.6%) |
| CIE-LAB | lab(38.39, 53.26, -52.52) |
| CIE-LCH | lch(38.39, 74.80, 315.40°) |
| OKLab | oklab(49.24% 0.119 -0.1488) |
| OKLCH | oklch(49.24% 0.191 308.7) |
| XYZ | xyz(18.1094, 10.3100, 42.6225) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 5.45
Rebeccapurple
#663399
ΔE00 5.58
Purply
#983FB2
ΔE00 5.62
Darkviolet
#9400D3
ΔE00 5.94
Blueviolet
#8A2BE2
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8035B1 #66B135
analogous
#4235B1 #8035B1 #B135A4
triadic
#8035B1 #B18035 #35B180
tetradic
#8035B1 #B14235 #66B135 #35A4B1
square
#8035B1 #B14235 #66B135 #35A4B1
split-complementary
#8035B1 #A4B135 #35B142
monochromatic
#3C1953 #5E2782 #8035B1 #9E57CD #B986DB
Accessibility & contrast
On white
6.86
#8035B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#8035B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8035B1
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8035B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8035B1 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#195BAE
Tritanopia (blue-blind)
#79506F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8035b1; /* rgb */ color: rgb(128, 53, 177); /* oklch */ color: oklch(49.2% 0.191 308.7);
Tailwind
colors: {
custom: {
50: '#a972c9',
500: '#8035b1',
950: '#000000',
},
}SCSS
$custom: #8035b1; $custom-light: #a972c9; $custom-dark: #000000;
JSON
{
"hex": "#8035b1",
"rgb": {
"r": 128,
"g": 53,
"b": 177
},
"hsl": {
"h": 276.29,
"s": 53.913,
"l": 45.098
},
"oklch": {
"l": 0.49243,
"c": 0.1905,
"h": 308.7
},
"luminance": 0.1031
}Semantic roles & 50–950 ramp
primary
#8035B1
secondary
#99C47D
accent
#DD4B85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82