#8A79E3#8A79E3
#8A79E3 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.9% C 0.155 H 288.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8A79E3 |
|---|---|
| RGB | rgb(138, 121, 227) |
| HSL | hsl(250, 65%, 68%) |
| HSV | hsv(250, 47%, 89%) |
| CMYK | cmyk(39.2%, 46.7%, 0%, 11%) |
| CIE-LAB | lab(56.71, 31.45, -51.87) |
| CIE-LCH | lch(56.71, 60.66, 301.23°) |
| OKLab | oklab(63.94% 0.0494 -0.1467) |
| OKLCH | oklch(63.94% 0.155 288.6) |
| XYZ | xyz(31.1799, 24.6231, 75.7681) |
| Luminance | 0.2462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.92
Periwinkle (survey)
#8E82FE
ΔE00 4.57
Lavender Blue
#8B88F8
ΔE00 5.41
Perrywinkle
#8F8CE7
ΔE00 5.77
Mediumslateblue
#7B68EE
ΔE00 5.81
Cornflower
#6A79F7
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A79E3 #D2E379
analogous
#799DE3 #8A79E3 #BF79E3
triadic
#8A79E3 #E38A79 #79E38A
tetradic
#8A79E3 #E3799D #D2E379 #79E3BF
square
#8A79E3 #E3799D #D2E379 #79E3BF
split-complementary
#8A79E3 #E3BF79 #9DE379
monochromatic
#3F27BB #5E46D8 #8A79E3 #B6ACEE #E2DEF8
Accessibility & contrast
On white
3.54
#8A79E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#8A79E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A79E3
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A79E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A79E3 | 1.00 | 3.54 | 5.92 | 5.92 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518AE7
Deuteranopia (green-blind)
#5185E1
Tritanopia (blue-blind)
#728EA3
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8a79e3; /* rgb */ color: rgb(138, 121, 227); /* oklch */ color: oklch(63.9% 0.155 288.6);
Tailwind
colors: {
custom: {
50: '#b0a0ec',
500: '#8a79e3',
950: '#000000',
},
}SCSS
$custom: #8a79e3; $custom-light: #b0a0ec; $custom-dark: #000000;
JSON
{
"hex": "#8a79e3",
"rgb": {
"r": 138,
"g": 121,
"b": 227
},
"hsl": {
"h": 249.623,
"s": 65.432,
"l": 68.235
},
"oklch": {
"l": 0.63937,
"c": 0.15474,
"h": 288.6
},
"luminance": 0.24624
}Semantic roles & 50–950 ramp
primary
#8A79E3
secondary
#E7ECCC
accent
#CD18B0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84