#8D7AE2#8D7AE2
#8D7AE2 is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.3% C 0.152 H 289.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7AE2 |
|---|---|
| RGB | rgb(141, 122, 226) |
| HSL | hsl(251, 64%, 68%) |
| HSV | hsv(251, 46%, 89%) |
| CMYK | cmyk(37.6%, 46%, 0%, 11.4%) |
| CIE-LAB | lab(57.15, 31.35, -50.60) |
| CIE-LCH | lch(57.15, 59.52, 301.78°) |
| OKLab | oklab(64.31% 0.0515 -0.1429) |
| OKLCH | oklch(64.31% 0.152 289.8) |
| XYZ | xyz(31.6678, 25.0719, 75.1076) |
| Luminance | 0.2507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.71
Periwinkle (survey)
#8E82FE
ΔE00 4.67
Lavender Blue
#8B88F8
ΔE00 5.46
Perrywinkle
#8F8CE7
ΔE00 5.57
Mediumslateblue
#7B68EE
ΔE00 6.38
Cornflower
#6A79F7
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7AE2 #CFE27A
analogous
#7A9BE2 #8D7AE2 #C17AE2
triadic
#8D7AE2 #E28D7A #7AE28D
tetradic
#8D7AE2 #E27A9B #CFE27A #7AE2C1
square
#8D7AE2 #E27A9B #CFE27A #7AE2C1
split-complementary
#8D7AE2 #E2C17A #9BE27A
monochromatic
#4328B9 #6248D7 #8D7AE2 #B8ACED #E3DEF8
Accessibility & contrast
On white
3.49
#8D7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#8D7AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7AE2
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7AE2 | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#5687E0
Tritanopia (blue-blind)
#778EA3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d7ae2; /* rgb */ color: rgb(141, 122, 226); /* oklch */ color: oklch(64.3% 0.152 289.8);
Tailwind
colors: {
custom: {
50: '#b2a0eb',
500: '#8d7ae2',
950: '#000000',
},
}SCSS
$custom: #8d7ae2; $custom-light: #b2a0eb; $custom-dark: #000000;
JSON
{
"hex": "#8d7ae2",
"rgb": {
"r": 141,
"g": 122,
"b": 226
},
"hsl": {
"h": 250.962,
"s": 64.198,
"l": 68.235
},
"oklch": {
"l": 0.64312,
"c": 0.15187,
"h": 289.8
},
"luminance": 0.25073
}Semantic roles & 50–950 ramp
primary
#8D7AE2
secondary
#E6ECCC
accent
#CC19AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84