#8156E7#8156E7
#8156E7 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.209 H 292.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8156E7 |
|---|---|
| RGB | rgb(129, 86, 231) |
| HSL | hsl(258, 75%, 62%) |
| HSV | hsv(258, 63%, 91%) |
| CMYK | cmyk(44.2%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(48.38, 50.40, -67.56) |
| CIE-LCH | lch(48.38, 84.28, 306.72°) |
| OKLab | oklab(57.66% 0.079 -0.193) |
| OKLCH | oklch(57.66% 0.209 292.2) |
| XYZ | xyz(26.8009, 17.0914, 77.4727) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.17
Light Indigo
#6D5ACF
ΔE00 4.87
Mediumslateblue
#7B68EE
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 6.19
Lightish Purple
#A552E6
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8156E7 #BCE756
analogous
#5674E7 #8156E7 #CA56E7
triadic
#8156E7 #E78156 #56E781
tetradic
#8156E7 #E75674 #BCE756 #56E7CA
square
#8156E7 #E75674 #BCE756 #56E7CA
split-complementary
#8156E7 #E7CA56 #74E756
monochromatic
#4418AA #5920DF #8156E7 #A98CEF #D1C1F6
Accessibility & contrast
On white
4.75
#8156E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#8156E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8156E7
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8156E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8156E7 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#637897
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8156e7; /* rgb */ color: rgb(129, 86, 231); /* oklch */ color: oklch(57.7% 0.209 292.2);
Tailwind
colors: {
custom: {
50: '#ad88f0',
500: '#8156e7',
950: '#000000',
},
}SCSS
$custom: #8156e7; $custom-light: #ad88f0; $custom-dark: #000000;
JSON
{
"hex": "#8156e7",
"rgb": {
"r": 129,
"g": 86,
"b": 231
},
"hsl": {
"h": 257.793,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.57657,
"c": 0.20857,
"h": 292.2
},
"luminance": 0.17092
}Semantic roles & 50–950 ramp
primary
#8156E7
secondary
#D7E7B2
accent
#D70E9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85