#8A7FFE#8A7FFE
#8A7FFE is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.6% C 0.182 H 284.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FFE |
|---|---|
| RGB | rgb(138, 127, 254) |
| HSL | hsl(245, 98%, 75%) |
| HSV | hsv(245, 50%, 100%) |
| CMYK | cmyk(45.7%, 50%, 0%, 0.4%) |
| CIE-LAB | lab(59.65, 35.54, -62.15) |
| CIE-LCH | lch(59.65, 71.59, 299.76°) |
| OKLab | oklab(66.64% 0.0448 -0.1768) |
| OKLCH | oklch(66.64% 0.182 284.2) |
| XYZ | xyz(35.9547, 27.7361, 97.2058) |
| Luminance | 0.2774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.01
Lavender Blue
#8B88F8
ΔE00 2.80
Perrywinkle
#8F8CE7
ΔE00 5.32
Cornflower
#6A79F7
ΔE00 5.53
Mediumslateblue
#7B68EE
ΔE00 7.27
Mediumpurple
#9370DB
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FFE #F3FE7F
analogous
#7FB3FE #8A7FFE #CA7FFE
triadic
#8A7FFE #FE8A7F #7FFE8A
tetradic
#8A7FFE #FE7FB3 #F3FE7F #7FFECA
square
#8A7FFE #FE7FB3 #F3FE7F #7FFECA
split-complementary
#8A7FFE #FECA7F #B3FE7F
monochromatic
#1B06FD #5242FE #8A7FFE #C2BCFE #E3E1FF
Accessibility & contrast
On white
3.21
#8A7FFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#8A7FFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FFE
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FFE | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#3F8CFB
Tritanopia (blue-blind)
#639AB3
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8a7ffe; /* rgb */ color: rgb(138, 127, 254); /* oklch */ color: oklch(66.6% 0.182 284.2);
Tailwind
colors: {
custom: {
50: '#b2a4ff',
500: '#8a7ffe',
950: '#000000',
},
}SCSS
$custom: #8a7ffe; $custom-light: #b2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7ffe",
"rgb": {
"r": 138,
"g": 127,
"b": 254
},
"hsl": {
"h": 245.197,
"s": 98.45,
"l": 74.706
},
"oklch": {
"l": 0.6664,
"c": 0.18235,
"h": 284.2
},
"luminance": 0.27738
}Semantic roles & 50–950 ramp
primary
#8A7FFE
secondary
#F4F7D4
accent
#E600D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86