#8156F0#8156F0
#8156F0 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.219 H 290.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8156F0 |
|---|---|
| RGB | rgb(129, 86, 240) |
| HSL | hsl(257, 84%, 64%) |
| HSV | hsv(257, 64%, 94%) |
| CMYK | cmyk(46.3%, 64.2%, 0%, 5.9%) |
| CIE-LAB | lab(49.02, 52.83, -71.57) |
| CIE-LCH | lch(49.02, 88.96, 306.44°) |
| OKLab | oklab(58.33% 0.0781 -0.2048) |
| OKLCH | oklch(58.33% 0.219 290.9) |
| XYZ | xyz(28.1048, 17.6130, 84.3400) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.98
Mediumslateblue
#7B68EE
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 6.24
Lighter Purple
#A55AF4
ΔE00 6.56
Lightish Purple
#A552E6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8156F0 #C5F056
analogous
#5678F0 #8156F0 #CE56F0
triadic
#8156F0 #F08156 #56F081
tetradic
#8156F0 #F05678 #C5F056 #56F0CE
square
#8156F0 #F05678 #C5F056 #56F0CE
split-complementary
#8156F0 #F0CE56 #78F056
monochromatic
#4011BB #571EEB #8156F0 #AB8EF5 #D5C6FA
Accessibility & contrast
On white
4.64
#8156F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#8156F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8156F0
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8156F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8156F0 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#5E7B9C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8156f0; /* rgb */ color: rgb(129, 86, 240); /* oklch */ color: oklch(58.3% 0.219 290.9);
Tailwind
colors: {
custom: {
50: '#ae88f6',
500: '#8156f0',
950: '#000000',
},
}SCSS
$custom: #8156f0; $custom-light: #ae88f6; $custom-dark: #000000;
JSON
{
"hex": "#8156f0",
"rgb": {
"r": 129,
"g": 86,
"b": 240
},
"hsl": {
"h": 256.753,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.5833,
"c": 0.21921,
"h": 290.9
},
"luminance": 0.17614
}Semantic roles & 50–950 ramp
primary
#8156F0
secondary
#DDECB6
accent
#E005A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85