#8A7FFD#8A7FFD
#8A7FFD is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.6% C 0.181 H 284.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FFD |
|---|---|
| RGB | rgb(138, 127, 253) |
| HSL | hsl(245, 97%, 75%) |
| HSV | hsv(245, 50%, 99%) |
| CMYK | cmyk(45.5%, 49.8%, 0%, 0.8%) |
| CIE-LAB | lab(59.59, 35.25, -61.69) |
| CIE-LCH | lch(59.59, 71.05, 299.74°) |
| OKLab | oklab(66.58% 0.0447 -0.1754) |
| OKLCH | oklch(66.58% 0.181 284.3) |
| XYZ | xyz(35.7950, 27.6722, 96.3647) |
| Luminance | 0.2767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.01
Lavender Blue
#8B88F8
ΔE00 2.77
Perrywinkle
#8F8CE7
ΔE00 5.24
Cornflower
#6A79F7
ΔE00 5.53
Mediumslateblue
#7B68EE
ΔE00 7.24
Mediumpurple
#9370DB
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FFD #F2FD7F
analogous
#7FB3FD #8A7FFD #C97FFD
triadic
#8A7FFD #FD8A7F #7FFD8A
tetradic
#8A7FFD #FD7FB3 #F2FD7F #7FFDC9
square
#8A7FFD #FD7FB3 #F2FD7F #7FFDC9
split-complementary
#8A7FFD #FDC97F #B3FD7F
monochromatic
#1C06FB #5343FC #8A7FFD #C1BBFE #E3E1FF
Accessibility & contrast
On white
3.21
#8A7FFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#8A7FFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FFD
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FFD | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#418CFA
Tritanopia (blue-blind)
#649AB2
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a7ffd; /* rgb */ color: rgb(138, 127, 253); /* oklch */ color: oklch(66.6% 0.181 284.3);
Tailwind
colors: {
custom: {
50: '#b2a4ff',
500: '#8a7ffd',
950: '#000000',
},
}SCSS
$custom: #8a7ffd; $custom-light: #b2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7ffd",
"rgb": {
"r": 138,
"g": 127,
"b": 253
},
"hsl": {
"h": 245.238,
"s": 96.923,
"l": 74.51
},
"oklch": {
"l": 0.66577,
"c": 0.18104,
"h": 284.3
},
"luminance": 0.27674
}Semantic roles & 50–950 ramp
primary
#8A7FFD
secondary
#F4F7D4
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86