#8A7FE7#8A7FE7
#8A7FE7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.3% C 0.151 H 286.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FE7 |
|---|---|
| RGB | rgb(138, 127, 231) |
| HSL | hsl(246, 68%, 70%) |
| HSV | hsv(246, 45%, 91%) |
| CMYK | cmyk(40.3%, 45%, 0%, 9.4%) |
| CIE-LAB | lab(58.37, 29.05, -51.46) |
| CIE-LCH | lch(58.37, 59.10, 299.44°) |
| OKLab | oklab(65.26% 0.0424 -0.1454) |
| OKLCH | oklch(65.26% 0.151 286.2) |
| XYZ | xyz(32.4903, 26.3504, 78.9601) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.32
Lavender Blue
#8B88F8
ΔE00 3.58
Perrywinkle
#8F8CE7
ΔE00 3.95
Mediumpurple
#9370DB
ΔE00 5.71
Cornflower
#6A79F7
ΔE00 6.32
Mediumslateblue
#7B68EE
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FE7 #DCE77F
analogous
#7FA8E7 #8A7FE7 #BE7FE7
triadic
#8A7FE7 #E78A7F #7FE78A
tetradic
#8A7FE7 #E77FA8 #DCE77F #7FE7BE
square
#8A7FE7 #E77FA8 #DCE77F #7FE7BE
split-complementary
#8A7FE7 #E7BE7F #A8E77F
monochromatic
#3625C6 #5B4BDD #8A7FE7 #B9B3F1 #E7E5FA
Accessibility & contrast
On white
3.35
#8A7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#8A7FE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FE7
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FE7 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#6F94A8
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8a7fe7; /* rgb */ color: rgb(138, 127, 231); /* oklch */ color: oklch(65.3% 0.151 286.2);
Tailwind
colors: {
custom: {
50: '#b0a4ef',
500: '#8a7fe7',
950: '#000000',
},
}SCSS
$custom: #8a7fe7; $custom-light: #b0a4ef; $custom-dark: #000000;
JSON
{
"hex": "#8a7fe7",
"rgb": {
"r": 138,
"g": 127,
"b": 231
},
"hsl": {
"h": 246.346,
"s": 68.421,
"l": 70.196
},
"oklch": {
"l": 0.65261,
"c": 0.15148,
"h": 286.2
},
"luminance": 0.26352
}Semantic roles & 50–950 ramp
primary
#8A7FE7
secondary
#ECEFD2
accent
#D015BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84