#8051C8#8051C8
#8051C8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.178 H 298.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8051C8 |
|---|---|
| RGB | rgb(128, 81, 200) |
| HSL | hsl(264, 52%, 55%) |
| HSV | hsv(264, 60%, 78%) |
| CMYK | cmyk(36%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.14, 44.69, -55.09) |
| CIE-LCH | lch(45.14, 70.94, 309.05°) |
| OKLab | oklab(54.61% 0.085 -0.1564) |
| OKLCH | oklch(54.61% 0.178 298.5) |
| XYZ | xyz(22.2673, 14.6439, 56.2858) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 4.85
Royal Purple
#7851A9
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.27
Deep Lavender
#8D5EB7
ΔE00 6.04
Iris
#6258C4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8051C8 #99C851
analogous
#515EC8 #8051C8 #BB51C8
triadic
#8051C8 #C88051 #51C880
tetradic
#8051C8 #C8515E #99C851 #51C8BB
square
#8051C8 #C8515E #99C851 #51C8BB
split-complementary
#8051C8 #C8BB51 #5EC851
monochromatic
#472679 #6235A7 #8051C8 #A280D7 #C4AEE5
Accessibility & contrast
On white
5.35
#8051C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8051C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8051C8
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8051C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8051C8 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#046BCC
Deuteranopia (green-blind)
#256AC5
Tritanopia (blue-blind)
#706A85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8051c8; /* rgb */ color: rgb(128, 81, 200); /* oklch */ color: oklch(54.6% 0.178 298.5);
Tailwind
colors: {
custom: {
50: '#a984d9',
500: '#8051c8',
950: '#000000',
},
}SCSS
$custom: #8051c8; $custom-light: #a984d9; $custom-dark: #000000;
JSON
{
"hex": "#8051c8",
"rgb": {
"r": 128,
"g": 81,
"b": 200
},
"hsl": {
"h": 263.697,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.54612,
"c": 0.17805,
"h": 298.5
},
"luminance": 0.14644
}Semantic roles & 50–950 ramp
primary
#8051C8
secondary
#C0D3A1
accent
#DB4CA3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83