#8156F3#8156F3
#8156F3 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.223 H 290.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8156F3 |
|---|---|
| RGB | rgb(129, 86, 243) |
| HSL | hsl(256, 87%, 65%) |
| HSV | hsv(256, 65%, 95%) |
| CMYK | cmyk(46.9%, 64.6%, 0%, 4.7%) |
| CIE-LAB | lab(49.24, 53.65, -72.89) |
| CIE-LCH | lch(49.24, 90.51, 306.35°) |
| OKLab | oklab(58.56% 0.0777 -0.2087) |
| OKLCH | oklch(58.56% 0.223 290.4) |
| XYZ | xyz(28.5541, 17.7927, 86.7065) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.32
Mediumslateblue
#7B68EE
ΔE00 4.93
Light Indigo
#6D5ACF
ΔE00 5.98
Lighter Purple
#A55AF4
ΔE00 6.51
Slate Blue
#6A5ACD
ΔE00 6.53
Lightish Purple
#A552E6
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8156F3 #C8F356
analogous
#567AF3 #8156F3 #CF56F3
triadic
#8156F3 #F38156 #56F381
tetradic
#8156F3 #F3567A #C8F356 #56F3CF
square
#8156F3 #F3567A #C8F356 #56F3CF
split-complementary
#8156F3 #F3CF56 #7AF356
monochromatic
#3F0EC1 #561DEF #8156F3 #AC8FF7 #D6C8FB
Accessibility & contrast
On white
4.61
#8156F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#8156F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8156F3
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8156F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8156F3 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#5D7C9D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8156f3; /* rgb */ color: rgb(129, 86, 243); /* oklch */ color: oklch(58.6% 0.223 290.4);
Tailwind
colors: {
custom: {
50: '#ae88f8',
500: '#8156f3',
950: '#000000',
},
}SCSS
$custom: #8156f3; $custom-light: #ae88f8; $custom-dark: #000000;
JSON
{
"hex": "#8156f3",
"rgb": {
"r": 129,
"g": 86,
"b": 243
},
"hsl": {
"h": 256.433,
"s": 86.74,
"l": 64.51
},
"oklch": {
"l": 0.58559,
"c": 0.22274,
"h": 290.4
},
"luminance": 0.17794
}Semantic roles & 50–950 ramp
primary
#8156F3
secondary
#DFEDB7
accent
#E302A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85