#8D79E4#8D79E4
#8D79E4 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.2% C 0.156 H 289.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8D79E4 |
|---|---|
| RGB | rgb(141, 121, 228) |
| HSL | hsl(251, 66%, 68%) |
| HSV | hsv(251, 47%, 89%) |
| CMYK | cmyk(38.2%, 46.9%, 0%, 10.6%) |
| CIE-LAB | lab(57.02, 32.47, -51.93) |
| CIE-LCH | lch(57.02, 61.24, 302.02°) |
| OKLab | oklab(64.25% 0.0531 -0.1467) |
| OKLCH | oklch(64.25% 0.156 289.9) |
| XYZ | xyz(31.8217, 24.9380, 76.5206) |
| Luminance | 0.2494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.57
Periwinkle (survey)
#8E82FE
ΔE00 4.56
Lavender Blue
#8B88F8
ΔE00 5.52
Perrywinkle
#8F8CE7
ΔE00 5.85
Mediumslateblue
#7B68EE
ΔE00 6.03
Cornflower
#6A79F7
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D79E4 #D0E479
analogous
#799AE4 #8D79E4 #C279E4
triadic
#8D79E4 #E48D79 #79E48D
tetradic
#8D79E4 #E4799A #D0E479 #79E4C2
square
#8D79E4 #E4799A #D0E479 #79E4C2
split-complementary
#8D79E4 #E4C279 #9AE479
monochromatic
#4226BD #6246DA #8D79E4 #B8ACEE #E4DFF9
Accessibility & contrast
On white
3.51
#8D79E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#8D79E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D79E4
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D79E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D79E4 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#5386E2
Tritanopia (blue-blind)
#768EA4
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d79e4; /* rgb */ color: rgb(141, 121, 228); /* oklch */ color: oklch(64.2% 0.156 289.9);
Tailwind
colors: {
custom: {
50: '#b2a0ed',
500: '#8d79e4',
950: '#000000',
},
}SCSS
$custom: #8d79e4; $custom-light: #b2a0ed; $custom-dark: #000000;
JSON
{
"hex": "#8d79e4",
"rgb": {
"r": 141,
"g": 121,
"b": 228
},
"hsl": {
"h": 251.215,
"s": 66.46,
"l": 68.431
},
"oklch": {
"l": 0.64249,
"c": 0.15604,
"h": 289.9
},
"luminance": 0.24939
}Semantic roles & 50–950 ramp
primary
#8D79E4
secondary
#E6ECCC
accent
#CE17AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84