#8155D2#8155D2
#8155D2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.185 H 296.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8155D2 |
|---|---|
| RGB | rgb(129, 85, 210) |
| HSL | hsl(261, 58%, 58%) |
| HSV | hsv(261, 60%, 82%) |
| CMYK | cmyk(38.6%, 59.5%, 0%, 17.6%) |
| CIE-LAB | lab(46.73, 45.33, -58.28) |
| CIE-LCH | lch(46.73, 73.83, 307.88°) |
| OKLab | oklab(56.01% 0.0813 -0.1658) |
| OKLCH | oklch(56.01% 0.185 296.1) |
| XYZ | xyz(23.9316, 15.8168, 62.7524) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.79
Light Indigo
#6D5ACF
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.66
Dark Periwinkle
#665FD1
ΔE00 6.09
Iris
#6258C4
ΔE00 6.21
Deep Lavender
#8D5EB7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8155D2 #A6D255
analogous
#5567D2 #8155D2 #C055D2
triadic
#8155D2 #D28155 #55D281
tetradic
#8155D2 #D25567 #A6D255 #55D2C0
square
#8155D2 #D25567 #A6D255 #55D2C0
split-complementary
#8155D2 #D2C055 #67D255
monochromatic
#472488 #6131B9 #8155D2 #A585DF #C9B6EC
Accessibility & contrast
On white
5.04
#8155D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#8155D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8155D2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8155D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8155D2 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#6D708B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8155d2; /* rgb */ color: rgb(129, 85, 210); /* oklch */ color: oklch(56.0% 0.185 296.1);
Tailwind
colors: {
custom: {
50: '#ab87e0',
500: '#8155d2',
950: '#000000',
},
}SCSS
$custom: #8155d2; $custom-light: #ab87e0; $custom-dark: #000000;
JSON
{
"hex": "#8155d2",
"rgb": {
"r": 129,
"g": 85,
"b": 210
},
"hsl": {
"h": 261.12,
"s": 58.14,
"l": 57.843
},
"oklch": {
"l": 0.56007,
"c": 0.18463,
"h": 296.1
},
"luminance": 0.15817
}Semantic roles & 50–950 ramp
primary
#8155D2
secondary
#C9DAA8
accent
#E146AB
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100B15
muted
#7F7C83