#8A7FFC#8A7FFC
#8A7FFC is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.5% C 0.180 H 284.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FFC |
|---|---|
| RGB | rgb(138, 127, 252) |
| HSL | hsl(245, 95%, 74%) |
| HSV | hsv(245, 50%, 99%) |
| CMYK | cmyk(45.2%, 49.6%, 0%, 1.2%) |
| CIE-LAB | lab(59.53, 34.96, -61.23) |
| CIE-LCH | lch(59.53, 70.51, 299.73°) |
| OKLab | oklab(66.52% 0.0446 -0.1741) |
| OKLCH | oklch(66.52% 0.18 284.4) |
| XYZ | xyz(35.6361, 27.6087, 95.5279) |
| Luminance | 0.2761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.02
Lavender Blue
#8B88F8
ΔE00 2.74
Perrywinkle
#8F8CE7
ΔE00 5.16
Cornflower
#6A79F7
ΔE00 5.52
Mediumslateblue
#7B68EE
ΔE00 7.21
Mediumpurple
#9370DB
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FFC #F1FC7F
analogous
#7FB3FC #8A7FFC #C97FFC
triadic
#8A7FFC #FC8A7F #7FFC8A
tetradic
#8A7FFC #FC7FB3 #F1FC7F #7FFCC9
square
#8A7FFC #FC7FB3 #F1FC7F #7FFCC9
split-complementary
#8A7FFC #FCC97F #B3FC7F
monochromatic
#1D07F9 #5343FB #8A7FFC #C1BBFD #E4E1FE
Accessibility & contrast
On white
3.22
#8A7FFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#8A7FFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FFC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FFC | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#428BF9
Tritanopia (blue-blind)
#649AB2
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a7ffc; /* rgb */ color: rgb(138, 127, 252); /* oklch */ color: oklch(66.5% 0.180 284.4);
Tailwind
colors: {
custom: {
50: '#b2a4fe',
500: '#8a7ffc',
950: '#000000',
},
}SCSS
$custom: #8a7ffc; $custom-light: #b2a4fe; $custom-dark: #000000;
JSON
{
"hex": "#8a7ffc",
"rgb": {
"r": 138,
"g": 127,
"b": 252
},
"hsl": {
"h": 245.28,
"s": 95.42,
"l": 74.314
},
"oklch": {
"l": 0.66515,
"c": 0.17972,
"h": 284.4
},
"luminance": 0.2761
}Semantic roles & 50–950 ramp
primary
#8A7FFC
secondary
#F4F7D4
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86