#8A7CED#8A7CED
#8A7CED is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.164 H 286.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7CED |
|---|---|
| RGB | rgb(138, 124, 237) |
| HSL | hsl(247, 76%, 71%) |
| HSV | hsv(247, 48%, 93%) |
| CMYK | cmyk(41.8%, 47.7%, 0%, 7.1%) |
| CIE-LAB | lab(57.97, 32.47, -55.43) |
| CIE-LCH | lch(57.97, 64.24, 300.36°) |
| OKLab | oklab(65.07% 0.0468 -0.1571) |
| OKLCH | oklch(65.07% 0.164 286.6) |
| XYZ | xyz(32.9706, 25.9318, 83.3725) |
| Luminance | 0.2593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.87
Lavender Blue
#8B88F8
ΔE00 3.88
Perrywinkle
#8F8CE7
ΔE00 5.01
Mediumpurple
#9370DB
ΔE00 5.35
Cornflower
#6A79F7
ΔE00 5.91
Mediumslateblue
#7B68EE
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7CED #DFED7C
analogous
#7CA6ED #8A7CED #C37CED
triadic
#8A7CED #ED8A7C #7CED8A
tetradic
#8A7CED #ED7CA6 #DFED7C #7CEDC3
square
#8A7CED #ED7CA6 #DFED7C #7CEDC3
split-complementary
#8A7CED #EDC37C #A6ED7C
monochromatic
#331DD2 #5A46E6 #8A7CED #BAB2F4 #E7E4FB
Accessibility & contrast
On white
3.39
#8A7CED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#8A7CED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7CED
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7CED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7CED | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#4D88EA
Tritanopia (blue-blind)
#6D93A9
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8a7ced; /* rgb */ color: rgb(138, 124, 237); /* oklch */ color: oklch(65.1% 0.164 286.6);
Tailwind
colors: {
custom: {
50: '#b1a2f3',
500: '#8a7ced',
950: '#000000',
},
}SCSS
$custom: #8a7ced; $custom-light: #b1a2f3; $custom-dark: #000000;
JSON
{
"hex": "#8a7ced",
"rgb": {
"r": 138,
"g": 124,
"b": 237
},
"hsl": {
"h": 247.434,
"s": 75.839,
"l": 70.784
},
"oklch": {
"l": 0.65068,
"c": 0.1639,
"h": 286.6
},
"luminance": 0.25933
}Semantic roles & 50–950 ramp
primary
#8A7CED
secondary
#EEF2D3
accent
#D80DBF
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85