#8156ED#8156ED
#8156ED is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.216 H 291.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8156ED |
|---|---|
| RGB | rgb(129, 86, 237) |
| HSL | hsl(257, 81%, 63%) |
| HSV | hsv(257, 64%, 93%) |
| CMYK | cmyk(45.6%, 63.7%, 0%, 7.1%) |
| CIE-LAB | lab(48.80, 52.02, -70.24) |
| CIE-LCH | lch(48.80, 87.40, 306.52°) |
| OKLab | oklab(58.1% 0.0784 -0.2009) |
| OKLCH | oklch(58.1% 0.216 291.3) |
| XYZ | xyz(27.6628, 17.4362, 82.0123) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.67
Mediumslateblue
#7B68EE
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.40
Slate Blue
#6A5ACD
ΔE00 5.97
Dark Periwinkle
#665FD1
ΔE00 6.51
Lightish Purple
#A552E6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8156ED #C2ED56
analogous
#5676ED #8156ED #CC56ED
triadic
#8156ED #ED8156 #56ED81
tetradic
#8156ED #ED5676 #C2ED56 #56EDCC
square
#8156ED #ED5676 #C2ED56 #56EDCC
split-complementary
#8156ED #EDCC56 #76ED56
monochromatic
#4113B5 #581FE7 #8156ED #AA8DF3 #D3C5F9
Accessibility & contrast
On white
4.68
#8156ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#8156ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8156ED
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8156ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8156ED | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#607A9A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8156ed; /* rgb */ color: rgb(129, 86, 237); /* oklch */ color: oklch(58.1% 0.216 291.3);
Tailwind
colors: {
custom: {
50: '#ad88f4',
500: '#8156ed',
950: '#000000',
},
}SCSS
$custom: #8156ed; $custom-light: #ad88f4; $custom-dark: #000000;
JSON
{
"hex": "#8156ed",
"rgb": {
"r": 129,
"g": 86,
"b": 237
},
"hsl": {
"h": 257.086,
"s": 80.749,
"l": 63.333
},
"oklch": {
"l": 0.58104,
"c": 0.21568,
"h": 291.3
},
"luminance": 0.17437
}Semantic roles & 50–950 ramp
primary
#8156ED
secondary
#DBEAB4
accent
#DD08A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85