#8A7BF3#8A7BF3
#8A7BF3 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.3% C 0.173 H 286.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7BF3 |
|---|---|
| RGB | rgb(138, 123, 243) |
| HSL | hsl(248, 83%, 72%) |
| HSV | hsv(248, 49%, 95%) |
| CMYK | cmyk(43.2%, 49.4%, 0%, 4.7%) |
| CIE-LAB | lab(58.07, 34.73, -58.60) |
| CIE-LCH | lch(58.07, 68.12, 300.66°) |
| OKLab | oklab(65.25% 0.0486 -0.1664) |
| OKLCH | oklch(65.25% 0.173 286.3) |
| XYZ | xyz(33.7372, 26.0389, 88.0250) |
| Luminance | 0.2604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.47
Lavender Blue
#8B88F8
ΔE00 3.93
Perrywinkle
#8F8CE7
ΔE00 5.56
Mediumpurple
#9370DB
ΔE00 5.67
Cornflower
#6A79F7
ΔE00 5.68
Mediumslateblue
#7B68EE
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7BF3 #E4F37B
analogous
#7BA8F3 #8A7BF3 #C67BF3
triadic
#8A7BF3 #F38A7B #7BF38A
tetradic
#8A7BF3 #F37BA8 #E4F37B #7BF3C6
square
#8A7BF3 #F37BA8 #E4F37B #7BF3C6
split-complementary
#8A7BF3 #F3C67B #A8F37B
monochromatic
#2E14DF #5843EE #8A7BF3 #BCB3F8 #E6E3FC
Accessibility & contrast
On white
3.38
#8A7BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#8A7BF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7BF3
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7BF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7BF3 | 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)
#478FF7
Deuteranopia (green-blind)
#4588F0
Tritanopia (blue-blind)
#6A94AC
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8a7bf3; /* rgb */ color: rgb(138, 123, 243); /* oklch */ color: oklch(65.3% 0.173 286.3);
Tailwind
colors: {
custom: {
50: '#b1a1f8',
500: '#8a7bf3',
950: '#000000',
},
}SCSS
$custom: #8a7bf3; $custom-light: #b1a1f8; $custom-dark: #000000;
JSON
{
"hex": "#8a7bf3",
"rgb": {
"r": 138,
"g": 123,
"b": 243
},
"hsl": {
"h": 247.5,
"s": 83.333,
"l": 71.765
},
"oklch": {
"l": 0.65254,
"c": 0.17331,
"h": 286.3
},
"luminance": 0.2604
}Semantic roles & 50–950 ramp
primary
#8A7BF3
secondary
#F0F4D6
accent
#E006C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85