#8451C5#8451C5
#8451C5 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.175 H 301.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8451C5 |
|---|---|
| RGB | rgb(132, 81, 197) |
| HSL | hsl(266, 50%, 55%) |
| HSV | hsv(266, 59%, 77%) |
| CMYK | cmyk(33%, 58.9%, 0%, 22.7%) |
| CIE-LAB | lab(45.39, 44.85, -52.94) |
| CIE-LCH | lch(45.39, 69.39, 310.27°) |
| OKLab | oklab(54.83% 0.0904 -0.15) |
| OKLCH | oklch(54.83% 0.175 301.1) |
| XYZ | xyz(22.5338, 14.8215, 54.4862) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.91
Purpley
#8756E4
ΔE00 4.97
Deep Lavender
#8D5EB7
ΔE00 5.28
Light Indigo
#6D5ACF
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 6.14
Darkorchid
#9932CC
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8451C5 #92C551
analogous
#5158C5 #8451C5 #BE51C5
triadic
#8451C5 #C58451 #51C584
tetradic
#8451C5 #C55158 #92C551 #51C5BE
square
#8451C5 #C55158 #92C551 #51C5BE
split-complementary
#8451C5 #C5BE51 #58C551
monochromatic
#492775 #6636A3 #8451C5 #A47FD4 #C5ADE4
Accessibility & contrast
On white
5.30
#8451C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8451C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8451C5
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8451C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8451C5 | 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)
#156BC9
Deuteranopia (green-blind)
#2F6BC2
Tritanopia (blue-blind)
#776983
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8451c5; /* rgb */ color: rgb(132, 81, 197); /* oklch */ color: oklch(54.8% 0.175 301.1);
Tailwind
colors: {
custom: {
50: '#ac84d7',
500: '#8451c5',
950: '#000000',
},
}SCSS
$custom: #8451c5; $custom-light: #ac84d7; $custom-dark: #000000;
JSON
{
"hex": "#8451c5",
"rgb": {
"r": 132,
"g": 81,
"b": 197
},
"hsl": {
"h": 266.379,
"s": 50,
"l": 54.51
},
"oklch": {
"l": 0.5483,
"c": 0.17511,
"h": 301.1
},
"luminance": 0.14822
}Semantic roles & 50–950 ramp
primary
#8451C5
secondary
#BCD1A0
accent
#DA4E9C
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#100B14
muted
#7F7C83