#8973E2#8973E2
#8973E2 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.7% C 0.162 H 290.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8973E2 |
|---|---|
| RGB | rgb(137, 115, 226) |
| HSL | hsl(252, 66%, 67%) |
| HSV | hsv(252, 49%, 89%) |
| CMYK | cmyk(39.4%, 49.1%, 0%, 11.4%) |
| CIE-LAB | lab(55.14, 34.42, -53.81) |
| CIE-LCH | lch(55.14, 63.88, 302.61°) |
| OKLab | oklab(62.73% 0.0556 -0.1524) |
| OKLCH | oklch(62.73% 0.162 290) |
| XYZ | xyz(30.1710, 23.0699, 74.8000) |
| Luminance | 0.2307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.83
Mediumslateblue
#7B68EE
ΔE00 4.41
Periwinkle (survey)
#8E82FE
ΔE00 5.85
Lavender Blue
#8B88F8
ΔE00 7.02
Cornflower
#6A79F7
ΔE00 7.20
Perrywinkle
#8F8CE7
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8973E2 #CCE273
analogous
#7395E2 #8973E2 #C173E2
triadic
#8973E2 #E28973 #73E289
tetradic
#8973E2 #E27395 #CCE273 #73E2C1
square
#8973E2 #E27395 #CCE273 #73E2C1
split-complementary
#8973E2 #E2C173 #95E273
monochromatic
#4226B5 #5E40D7 #8973E2 #B4A6ED #DED8F7
Accessibility & contrast
On white
3.74
#8973E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#8973E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8973E2
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8973E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8973E2 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4786E6
Deuteranopia (green-blind)
#4982DF
Tritanopia (blue-blind)
#718AA0
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8973e2; /* rgb */ color: rgb(137, 115, 226); /* oklch */ color: oklch(62.7% 0.162 290.0);
Tailwind
colors: {
custom: {
50: '#b09bec',
500: '#8973e2',
950: '#000000',
},
}SCSS
$custom: #8973e2; $custom-light: #b09bec; $custom-dark: #000000;
JSON
{
"hex": "#8973e2",
"rgb": {
"r": 137,
"g": 115,
"b": 226
},
"hsl": {
"h": 251.892,
"s": 65.68,
"l": 66.863
},
"oklch": {
"l": 0.62726,
"c": 0.16218,
"h": 290
},
"luminance": 0.23071
}Semantic roles & 50–950 ramp
primary
#8973E2
secondary
#E3EAC7
accent
#CE18AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84