#8451E2#8451E2
#8451E2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.209 H 295.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8451E2 |
|---|---|
| RGB | rgb(132, 81, 226) |
| HSL | hsl(261, 71%, 60%) |
| HSV | hsv(261, 64%, 89%) |
| CMYK | cmyk(41.6%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(47.34, 52.31, -66.39) |
| CIE-LCH | lch(47.34, 84.53, 308.23°) |
| OKLab | oklab(56.87% 0.0887 -0.1895) |
| OKLCH | oklch(56.87% 0.209 295.1) |
| XYZ | xyz(26.1820, 16.2808, 73.6998) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.48
Light Indigo
#6D5ACF
ΔE00 5.25
Slate Blue
#6A5ACD
ΔE00 5.83
Bluish Purple
#703BE7
ΔE00 6.03
Lightish Purple
#A552E6
ΔE00 6.11
Purpleish Blue
#6140EF
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8451E2 #AFE251
analogous
#5167E2 #8451E2 #CC51E2
triadic
#8451E2 #E28451 #51E284
tetradic
#8451E2 #E25167 #AFE251 #51E2CC
square
#8451E2 #E25167 #AFE251 #51E2CC
split-complementary
#8451E2 #E2CC51 #67E251
monochromatic
#491A9E #6123D3 #8451E2 #A985EB #CEBAF3
Accessibility & contrast
On white
4.93
#8451E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#8451E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8451E2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8451E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8451E2 | 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)
#0071E7
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#6B7392
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8451e2; /* rgb */ color: rgb(132, 81, 226); /* oklch */ color: oklch(56.9% 0.209 295.1);
Tailwind
colors: {
custom: {
50: '#ae85ec',
500: '#8451e2',
950: '#000000',
},
}SCSS
$custom: #8451e2; $custom-light: #ae85ec; $custom-dark: #000000;
JSON
{
"hex": "#8451e2",
"rgb": {
"r": 132,
"g": 81,
"b": 226
},
"hsl": {
"h": 261.103,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.56868,
"c": 0.20924,
"h": 295.1
},
"luminance": 0.16281
}Semantic roles & 50–950 ramp
primary
#8451E2
secondary
#D0E3AC
accent
#D3128F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84