#8A7FFF#8A7FFF
#8A7FFF is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.7% C 0.184 H 284.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FFF |
|---|---|
| RGB | rgb(138, 127, 255) |
| HSL | hsl(245, 100%, 75%) |
| HSV | hsv(245, 50%, 100%) |
| CMYK | cmyk(45.9%, 50.2%, 0%, 0%) |
| CIE-LAB | lab(59.71, 35.82, -62.60) |
| CIE-LCH | lch(59.71, 72.13, 299.78°) |
| OKLab | oklab(66.7% 0.0449 -0.1781) |
| OKLCH | oklch(66.7% 0.184 284.1) |
| XYZ | xyz(36.1153, 27.8004, 98.0514) |
| Luminance | 0.2780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.03
Lavender Blue
#8B88F8
ΔE00 2.84
Perrywinkle
#8F8CE7
ΔE00 5.41
Cornflower
#6A79F7
ΔE00 5.55
Mediumslateblue
#7B68EE
ΔE00 7.31
Mediumpurple
#9370DB
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FFF #F4FF7F
analogous
#7FB4FF #8A7FFF #CA7FFF
triadic
#8A7FFF #FF8A7F #7FFF8A
tetradic
#8A7FFF #FF7FB4 #F4FF7F #7FFFCA
square
#8A7FFF #FF7FB4 #F4FF7F #7FFFCA
split-complementary
#8A7FFF #FFCA7F #B4FF7F
monochromatic
#1A05FF #5242FF #8A7FFF #C2BCFF #E3E0FF
Accessibility & contrast
On white
3.20
#8A7FFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#8A7FFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FFF
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FFF | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#3E8CFC
Tritanopia (blue-blind)
#639AB3
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8a7fff; /* rgb */ color: rgb(138, 127, 255); /* oklch */ color: oklch(66.7% 0.184 284.1);
Tailwind
colors: {
custom: {
50: '#b2a4ff',
500: '#8a7fff',
950: '#000000',
},
}SCSS
$custom: #8a7fff; $custom-light: #b2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7fff",
"rgb": {
"r": 138,
"g": 127,
"b": 255
},
"hsl": {
"h": 245.156,
"s": 100,
"l": 74.902
},
"oklch": {
"l": 0.66702,
"c": 0.18367,
"h": 284.1
},
"luminance": 0.27802
}Semantic roles & 50–950 ramp
primary
#8A7FFF
secondary
#F4F7D4
accent
#E600D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86