#8155DB#8155DB
#8155DB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.196 H 294.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8155DB |
|---|---|
| RGB | rgb(129, 85, 219) |
| HSL | hsl(260, 65%, 60%) |
| HSV | hsv(260, 61%, 86%) |
| CMYK | cmyk(41.1%, 61.2%, 0%, 14.1%) |
| CIE-LAB | lab(47.34, 47.71, -62.44) |
| CIE-LCH | lch(47.34, 78.58, 307.39°) |
| OKLab | oklab(56.64% 0.0809 -0.178) |
| OKLCH | oklch(56.64% 0.196 294.4) |
| XYZ | xyz(25.0845, 16.2780, 68.8244) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.68
Light Indigo
#6D5ACF
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.79
Dark Periwinkle
#665FD1
ΔE00 5.98
Mediumslateblue
#7B68EE
ΔE00 6.44
Iris
#6258C4
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8155DB #AFDB55
analogous
#556CDB #8155DB #C455DB
triadic
#8155DB #DB8155 #55DB81
tetradic
#8155DB #DB556C #AFDB55 #55DBC4
square
#8155DB #DB556C #AFDB55 #55DBC4
split-complementary
#8155DB #DBC455 #6CDB55
monochromatic
#472096 #5E2AC8 #8155DB #A688E6 #CCBAF0
Accessibility & contrast
On white
4.93
#8155DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#8155DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8155DB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8155DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8155DB | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#697390
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8155db; /* rgb */ color: rgb(129, 85, 219); /* oklch */ color: oklch(56.6% 0.196 294.4);
Tailwind
colors: {
custom: {
50: '#ab87e7',
500: '#8155db',
950: '#000000',
},
}SCSS
$custom: #8155db; $custom-light: #ab87e7; $custom-dark: #000000;
JSON
{
"hex": "#8155db",
"rgb": {
"r": 129,
"g": 85,
"b": 219
},
"hsl": {
"h": 259.701,
"s": 65.049,
"l": 59.608
},
"oklch": {
"l": 0.56639,
"c": 0.19552,
"h": 294.4
},
"luminance": 0.16279
}Semantic roles & 50–950 ramp
primary
#8155DB
secondary
#CFE0AC
accent
#E840B1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84