#8A7DF9#8A7DF9
#8A7DF9 is a light, vivid blue. Relative luminance 0.269; OKLCH L 66.0% C 0.178 H 285.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7DF9 |
|---|---|
| RGB | rgb(138, 125, 249) |
| HSL | hsl(246, 91%, 73%) |
| HSV | hsv(246, 50%, 98%) |
| CMYK | cmyk(44.6%, 49.8%, 0%, 2.4%) |
| CIE-LAB | lab(58.89, 35.27, -60.61) |
| CIE-LCH | lch(58.89, 70.13, 300.20°) |
| OKLab | oklab(65.98% 0.0467 -0.1723) |
| OKLCH | oklch(65.98% 0.178 285.2) |
| XYZ | xyz(34.9088, 26.9086, 92.9587) |
| Luminance | 0.2691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.59
Lavender Blue
#8B88F8
ΔE00 3.27
Perrywinkle
#8F8CE7
ΔE00 5.39
Cornflower
#6A79F7
ΔE00 5.51
Mediumslateblue
#7B68EE
ΔE00 6.60
Mediumpurple
#9370DB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7DF9 #ECF97D
analogous
#7DAEF9 #8A7DF9 #C87DF9
triadic
#8A7DF9 #F98A7D #7DF98A
tetradic
#8A7DF9 #F97DAE #ECF97D #7DF9C8
square
#8A7DF9 #F97DAE #ECF97D #7DF9C8
split-complementary
#8A7DF9 #F9C87D #AEF97D
monochromatic
#230BF0 #5542F6 #8A7DF9 #BFB7FC #E5E2FE
Accessibility & contrast
On white
3.29
#8A7DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#8A7DF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7DF9
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7DF9 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4691FD
Deuteranopia (green-blind)
#428AF6
Tritanopia (blue-blind)
#6697AF
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8a7df9; /* rgb */ color: rgb(138, 125, 249); /* oklch */ color: oklch(66.0% 0.178 285.2);
Tailwind
colors: {
custom: {
50: '#b2a3fc',
500: '#8a7df9',
950: '#000000',
},
}SCSS
$custom: #8a7df9; $custom-light: #b2a3fc; $custom-dark: #000000;
JSON
{
"hex": "#8a7df9",
"rgb": {
"r": 138,
"g": 125,
"b": 249
},
"hsl": {
"h": 246.29,
"s": 91.176,
"l": 73.333
},
"oklch": {
"l": 0.65977,
"c": 0.17849,
"h": 285.2
},
"luminance": 0.2691
}Semantic roles & 50–950 ramp
primary
#8A7DF9
secondary
#F2F6D5
accent
#E600CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85