#8D79E2#8D79E2
#8D79E2 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.1% C 0.153 H 290.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8D79E2 |
|---|---|
| RGB | rgb(141, 121, 226) |
| HSL | hsl(251, 64%, 68%) |
| HSV | hsv(251, 46%, 89%) |
| CMYK | cmyk(37.6%, 46.5%, 0%, 11.4%) |
| CIE-LAB | lab(56.91, 31.93, -50.98) |
| CIE-LCH | lch(56.91, 60.15, 302.06°) |
| OKLab | oklab(64.13% 0.0528 -0.144) |
| OKLCH | oklch(64.13% 0.153 290.1) |
| XYZ | xyz(31.5456, 24.8276, 75.0669) |
| Luminance | 0.2483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.44
Periwinkle (survey)
#8E82FE
ΔE00 4.82
Lavender Blue
#8B88F8
ΔE00 5.70
Perrywinkle
#8F8CE7
ΔE00 5.87
Mediumslateblue
#7B68EE
ΔE00 6.15
Cornflower
#6A79F7
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D79E2 #CEE279
analogous
#7999E2 #8D79E2 #C279E2
triadic
#8D79E2 #E28D79 #79E28D
tetradic
#8D79E2 #E27999 #CEE279 #79E2C2
square
#8D79E2 #E27999 #CEE279 #79E2C2
split-complementary
#8D79E2 #E2C279 #99E279
monochromatic
#4428B9 #6247D7 #8D79E2 #B8ABED #E3DEF8
Accessibility & contrast
On white
3.52
#8D79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#8D79E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D79E2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D79E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D79E2 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#5486E0
Tritanopia (blue-blind)
#778EA3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d79e2; /* rgb */ color: rgb(141, 121, 226); /* oklch */ color: oklch(64.1% 0.153 290.1);
Tailwind
colors: {
custom: {
50: '#b2a0eb',
500: '#8d79e2',
950: '#000000',
},
}SCSS
$custom: #8d79e2; $custom-light: #b2a0eb; $custom-dark: #000000;
JSON
{
"hex": "#8d79e2",
"rgb": {
"r": 141,
"g": 121,
"b": 226
},
"hsl": {
"h": 251.429,
"s": 64.417,
"l": 68.039
},
"oklch": {
"l": 0.64133,
"c": 0.15335,
"h": 290.1
},
"luminance": 0.24828
}Semantic roles & 50–950 ramp
primary
#8D79E2
secondary
#E5EBCB
accent
#CC19AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84