#8151CA#8151CA
#8151CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.181 H 298.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8151CA |
|---|---|
| RGB | rgb(129, 81, 202) |
| HSL | hsl(264, 53%, 55%) |
| HSV | hsv(264, 60%, 79%) |
| CMYK | cmyk(36.1%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(45.38, 45.43, -55.86) |
| CIE-LCH | lch(45.38, 72.00, 309.12°) |
| OKLab | oklab(54.85% 0.0863 -0.1587) |
| OKLCH | oklch(54.85% 0.181 298.5) |
| XYZ | xyz(22.6537, 14.8160, 57.5319) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 5.32
Royal Purple
#7851A9
ΔE00 5.55
Deep Lavender
#8D5EB7
ΔE00 6.10
Iris
#6258C4
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8151CA #9ACA51
analogous
#515DCA #8151CA #BE51CA
triadic
#8151CA #CA8151 #51CA81
tetradic
#8151CA #CA515D #9ACA51 #51CABE
square
#8151CA #CA515D #9ACA51 #51CABE
split-complementary
#8151CA #CABE51 #5DCA51
monochromatic
#47257B #6334AA #8151CA #A380D8 #C5AFE7
Accessibility & contrast
On white
5.30
#8151CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8151CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8151CA
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8151CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8151CA | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#236AC7
Tritanopia (blue-blind)
#716B86
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8151ca; /* rgb */ color: rgb(129, 81, 202); /* oklch */ color: oklch(54.9% 0.181 298.5);
Tailwind
colors: {
custom: {
50: '#aa84db',
500: '#8151ca',
950: '#000000',
},
}SCSS
$custom: #8151ca; $custom-light: #aa84db; $custom-dark: #000000;
JSON
{
"hex": "#8151ca",
"rgb": {
"r": 129,
"g": 81,
"b": 202
},
"hsl": {
"h": 263.802,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.54852,
"c": 0.18061,
"h": 298.5
},
"luminance": 0.14816
}Semantic roles & 50–950 ramp
primary
#8151CA
secondary
#C1D5A2
accent
#DD4BA3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83