#8151E6#8151E6
#8151E6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.214 H 293.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8151E6 |
|---|---|
| RGB | rgb(129, 81, 230) |
| HSL | hsl(259, 75%, 61%) |
| HSV | hsv(259, 65%, 90%) |
| CMYK | cmyk(43.9%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(47.32, 52.79, -68.71) |
| CIE-LCH | lch(47.32, 86.64, 307.53°) |
| OKLab | oklab(56.87% 0.0842 -0.1964) |
| OKLCH | oklch(56.87% 0.214 293.2) |
| XYZ | xyz(26.2747, 16.2644, 76.6025) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.72
Light Indigo
#6D5ACF
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.66
Bluish Purple
#703BE7
ΔE00 5.77
Purpleish Blue
#6140EF
ΔE00 6.31
Lightish Purple
#A552E6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8151E6 #B6E651
analogous
#516BE6 #8151E6 #CB51E6
triadic
#8151E6 #E68151 #51E681
tetradic
#8151E6 #E6516B #B6E651 #51E6CB
square
#8151E6 #E6516B #B6E651 #51E6CB
split-complementary
#8151E6 #E6CB51 #6BE651
monochromatic
#4518A5 #5C1FDA #8151E6 #A887EE #CEBCF5
Accessibility & contrast
On white
4.94
#8151E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#8151E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8151E6
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8151E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8151E6 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#647495
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8151e6; /* rgb */ color: rgb(129, 81, 230); /* oklch */ color: oklch(56.9% 0.214 293.2);
Tailwind
colors: {
custom: {
50: '#ad85ef',
500: '#8151e6',
950: '#000000',
},
}SCSS
$custom: #8151e6; $custom-light: #ad85ef; $custom-dark: #000000;
JSON
{
"hex": "#8151e6",
"rgb": {
"r": 129,
"g": 81,
"b": 230
},
"hsl": {
"h": 259.329,
"s": 74.874,
"l": 60.98
},
"oklch": {
"l": 0.56871,
"c": 0.21372,
"h": 293.2
},
"luminance": 0.16265
}Semantic roles & 50–950 ramp
primary
#8151E6
secondary
#D3E5AD
accent
#D70E96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85