#8A7FE2#8A7FE2
#8A7FE2 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.0% C 0.145 H 286.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FE2 |
|---|---|
| RGB | rgb(138, 127, 226) |
| HSL | hsl(247, 63%, 69%) |
| HSV | hsv(247, 44%, 89%) |
| CMYK | cmyk(38.9%, 43.8%, 0%, 11.4%) |
| CIE-LAB | lab(58.11, 27.67, -49.09) |
| CIE-LCH | lch(58.11, 56.35, 299.41°) |
| OKLab | oklab(64.98% 0.0416 -0.1385) |
| OKLCH | oklch(64.98% 0.145 286.7) |
| XYZ | xyz(31.7942, 26.0719, 75.2940) |
| Luminance | 0.2607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.93
Periwinkle (survey)
#8E82FE
ΔE00 4.07
Lavender Blue
#8B88F8
ΔE00 4.14
Mediumpurple
#9370DB
ΔE00 5.50
Cornflower
#6A79F7
ΔE00 6.76
Mediumslateblue
#7B68EE
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FE2 #D7E27F
analogous
#7FA6E2 #8A7FE2 #BC7FE2
triadic
#8A7FE2 #E28A7F #7FE28A
tetradic
#8A7FE2 #E27FA6 #D7E27F #7FE2BC
square
#8A7FE2 #E27FA6 #D7E27F #7FE2BC
split-complementary
#8A7FE2 #E2BC7F #A6E27F
monochromatic
#3B2BBC #5C4DD7 #8A7FE2 #B8B1ED #E5E3F9
Accessibility & contrast
On white
3.38
#8A7FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#8A7FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FE2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FE2 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#5A89E0
Tritanopia (blue-blind)
#7293A6
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8a7fe2; /* rgb */ color: rgb(138, 127, 226); /* oklch */ color: oklch(65.0% 0.145 286.7);
Tailwind
colors: {
custom: {
50: '#b0a4eb',
500: '#8a7fe2',
950: '#000000',
},
}SCSS
$custom: #8a7fe2; $custom-light: #b0a4eb; $custom-dark: #000000;
JSON
{
"hex": "#8a7fe2",
"rgb": {
"r": 138,
"g": 127,
"b": 226
},
"hsl": {
"h": 246.667,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.64976,
"c": 0.14463,
"h": 286.7
},
"luminance": 0.26073
}Semantic roles & 50–950 ramp
primary
#8A7FE2
secondary
#EAEDD0
accent
#CB1BB7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84