#8A7DE2#8A7DE2
#8A7DE2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.6% C 0.148 H 287.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7DE2 |
|---|---|
| RGB | rgb(138, 125, 226) |
| HSL | hsl(248, 64%, 69%) |
| HSV | hsv(248, 45%, 89%) |
| CMYK | cmyk(38.9%, 44.7%, 0%, 11.4%) |
| CIE-LAB | lab(57.62, 28.84, -49.87) |
| CIE-LCH | lch(57.62, 57.60, 300.04°) |
| OKLab | oklab(64.61% 0.0442 -0.1408) |
| OKLCH | oklch(64.61% 0.148 287.4) |
| XYZ | xyz(31.5385, 25.5605, 75.2087) |
| Luminance | 0.2556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.20
Perrywinkle
#8F8CE7
ΔE00 4.54
Lavender Blue
#8B88F8
ΔE00 4.55
Mediumpurple
#9370DB
ΔE00 4.93
Cornflower
#6A79F7
ΔE00 6.74
Mediumslateblue
#7B68EE
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7DE2 #D5E27D
analogous
#7DA3E2 #8A7DE2 #BD7DE2
triadic
#8A7DE2 #E28A7D #7DE28A
tetradic
#8A7DE2 #E27DA3 #D5E27D #7DE2BD
square
#8A7DE2 #E27DA3 #D5E27D #7DE2BD
split-complementary
#8A7DE2 #E2BD7D #A3E27D
monochromatic
#3C2ABB #5D4BD7 #8A7DE2 #B7AFED #E4E1F8
Accessibility & contrast
On white
3.44
#8A7DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#8A7DE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7DE2
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7DE2 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598DE6
Deuteranopia (green-blind)
#5888E0
Tritanopia (blue-blind)
#7291A5
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a7de2; /* rgb */ color: rgb(138, 125, 226); /* oklch */ color: oklch(64.6% 0.148 287.4);
Tailwind
colors: {
custom: {
50: '#b0a2eb',
500: '#8a7de2',
950: '#000000',
},
}SCSS
$custom: #8a7de2; $custom-light: #b0a2eb; $custom-dark: #000000;
JSON
{
"hex": "#8a7de2",
"rgb": {
"r": 138,
"g": 125,
"b": 226
},
"hsl": {
"h": 247.723,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.64607,
"c": 0.14754,
"h": 287.4
},
"luminance": 0.25561
}Semantic roles & 50–950 ramp
primary
#8A7DE2
secondary
#E8ECCE
accent
#CB1AB5
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84