#8A7DF7#8A7DF7
#8A7DF7 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.9% C 0.176 H 285.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7DF7 |
|---|---|
| RGB | rgb(138, 125, 247) |
| HSL | hsl(246, 88%, 73%) |
| HSV | hsv(246, 49%, 97%) |
| CMYK | cmyk(44.1%, 49.4%, 0%, 3.1%) |
| CIE-LAB | lab(58.77, 34.70, -59.69) |
| CIE-LCH | lch(58.77, 69.05, 300.17°) |
| OKLab | oklab(65.85% 0.0465 -0.1696) |
| OKLCH | oklch(65.85% 0.176 285.3) |
| XYZ | xyz(34.5985, 26.7845, 91.3246) |
| Luminance | 0.2679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.71
Lavender Blue
#8B88F8
ΔE00 3.27
Perrywinkle
#8F8CE7
ΔE00 5.26
Cornflower
#6A79F7
ΔE00 5.54
Mediumpurple
#9370DB
ΔE00 6.44
Mediumslateblue
#7B68EE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7DF7 #EAF77D
analogous
#7DADF7 #8A7DF7 #C77DF7
triadic
#8A7DF7 #F78A7D #7DF78A
tetradic
#8A7DF7 #F77DAD #EAF77D #7DF7C7
square
#8A7DF7 #F77DAD #EAF77D #7DF7C7
split-complementary
#8A7DF7 #F7C77D #ADF77D
monochromatic
#260EEB #5643F3 #8A7DF7 #BEB7FB #E5E2FD
Accessibility & contrast
On white
3.30
#8A7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#8A7DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7DF7
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7DF7 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#448AF4
Tritanopia (blue-blind)
#6897AE
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a7df7; /* rgb */ color: rgb(138, 125, 247); /* oklch */ color: oklch(65.9% 0.176 285.3);
Tailwind
colors: {
custom: {
50: '#b2a3fa',
500: '#8a7df7',
950: '#000000',
},
}SCSS
$custom: #8a7df7; $custom-light: #b2a3fa; $custom-dark: #000000;
JSON
{
"hex": "#8a7df7",
"rgb": {
"r": 138,
"g": 125,
"b": 247
},
"hsl": {
"h": 246.393,
"s": 88.406,
"l": 72.941
},
"oklch": {
"l": 0.65853,
"c": 0.17584,
"h": 285.3
},
"luminance": 0.26786
}Semantic roles & 50–950 ramp
primary
#8A7DF7
secondary
#F2F5D6
accent
#E500CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85