#8A77F4#8A77F4
#8A77F4 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.6% C 0.180 H 287.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A77F4 |
|---|---|
| RGB | rgb(138, 119, 244) |
| HSL | hsl(249, 85%, 71%) |
| HSV | hsv(249, 51%, 96%) |
| CMYK | cmyk(43.4%, 51.2%, 0%, 4.3%) |
| CIE-LAB | lab(57.20, 37.33, -60.56) |
| CIE-LCH | lch(57.20, 71.14, 301.65°) |
| OKLab | oklab(64.62% 0.0533 -0.1721) |
| OKLCH | oklch(64.62% 0.18 287.2) |
| XYZ | xyz(33.4025, 25.1273, 88.6605) |
| Luminance | 0.2513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.40
Mediumslateblue
#7B68EE
ΔE00 4.98
Lavender Blue
#8B88F8
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 5.09
Cornflower
#6A79F7
ΔE00 5.89
Perrywinkle
#8F8CE7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A77F4 #E1F477
analogous
#77A2F4 #8A77F4 #C877F4
triadic
#8A77F4 #F48A77 #77F48A
tetradic
#8A77F4 #F477A2 #E1F477 #77F4C8
square
#8A77F4 #F477A2 #E1F477 #77F4C8
split-complementary
#8A77F4 #F4C877 #A2F477
monochromatic
#3112DF #593EEF #8A77F4 #BBB0F9 #E7E3FD
Accessibility & contrast
On white
3.49
#8A77F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#8A77F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A77F4
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A77F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A77F4 | 1.00 | 3.49 | 6.03 | 6.03 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8CF8
Deuteranopia (green-blind)
#3C86F1
Tritanopia (blue-blind)
#6A92AA
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a77f4; /* rgb */ color: rgb(138, 119, 244); /* oklch */ color: oklch(64.6% 0.180 287.2);
Tailwind
colors: {
custom: {
50: '#b29ef8',
500: '#8a77f4',
950: '#000000',
},
}SCSS
$custom: #8a77f4; $custom-light: #b29ef8; $custom-dark: #000000;
JSON
{
"hex": "#8a77f4",
"rgb": {
"r": 138,
"g": 119,
"b": 244
},
"hsl": {
"h": 249.12,
"s": 85.034,
"l": 71.176
},
"oklch": {
"l": 0.64618,
"c": 0.1802,
"h": 287.2
},
"luminance": 0.25129
}Semantic roles & 50–950 ramp
primary
#8A77F4
secondary
#EFF4D3
accent
#E204C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85