#8A7FFA#8A7FFA
#8A7FFA is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.4% C 0.177 H 284.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FFA |
|---|---|
| RGB | rgb(138, 127, 250) |
| HSL | hsl(245, 92%, 74%) |
| HSV | hsv(245, 49%, 98%) |
| CMYK | cmyk(44.8%, 49.2%, 0%, 2%) |
| CIE-LAB | lab(59.42, 34.40, -60.32) |
| CIE-LCH | lch(59.42, 69.43, 299.69°) |
| OKLab | oklab(66.39% 0.0445 -0.1714) |
| OKLCH | oklch(66.39% 0.177 284.5) |
| XYZ | xyz(35.3209, 27.4826, 93.8675) |
| Luminance | 0.2748 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.10
Lavender Blue
#8B88F8
ΔE00 2.69
Perrywinkle
#8F8CE7
ΔE00 4.99
Cornflower
#6A79F7
ΔE00 5.52
Mediumpurple
#9370DB
ΔE00 7.12
Mediumslateblue
#7B68EE
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FFA #EFFA7F
analogous
#7FB2FA #8A7FFA #C87FFA
triadic
#8A7FFA #FA8A7F #7FFA8A
tetradic
#8A7FFA #FA7FB2 #EFFA7F #7FFAC8
square
#8A7FFA #FA7FB2 #EFFA7F #7FFAC8
split-complementary
#8A7FFA #FAC87F #B2FA7F
monochromatic
#1F0AF5 #5444F8 #8A7FFA #C0BAFC #E4E2FE
Accessibility & contrast
On white
3.23
#8A7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#8A7FFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FFA
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FFA | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#448BF7
Tritanopia (blue-blind)
#6699B1
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8a7ffa; /* rgb */ color: rgb(138, 127, 250); /* oklch */ color: oklch(66.4% 0.177 284.5);
Tailwind
colors: {
custom: {
50: '#b2a4fd',
500: '#8a7ffa',
950: '#000000',
},
}SCSS
$custom: #8a7ffa; $custom-light: #b2a4fd; $custom-dark: #000000;
JSON
{
"hex": "#8a7ffa",
"rgb": {
"r": 138,
"g": 127,
"b": 250
},
"hsl": {
"h": 245.366,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.66392,
"c": 0.17706,
"h": 284.5
},
"luminance": 0.27484
}Semantic roles & 50–950 ramp
primary
#8A7FFA
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86