#8A7BFC#8A7BFC
#8A7BFC is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.8% C 0.185 H 285.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7BFC |
|---|---|
| RGB | rgb(138, 123, 252) |
| HSL | hsl(247, 96%, 74%) |
| HSV | hsv(247, 51%, 99%) |
| CMYK | cmyk(45.2%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(58.60, 37.28, -62.73) |
| CIE-LCH | lch(58.60, 72.97, 300.72°) |
| OKLab | oklab(65.82% 0.0492 -0.1785) |
| OKLCH | oklch(65.82% 0.185 285.4) |
| XYZ | xyz(35.1298, 26.5959, 95.3591) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.02
Lavender Blue
#8B88F8
ΔE00 3.89
Cornflower
#6A79F7
ΔE00 5.54
Perrywinkle
#8F8CE7
ΔE00 6.08
Mediumslateblue
#7B68EE
ΔE00 6.20
Mediumpurple
#9370DB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7BFC #EDFC7B
analogous
#7BACFC #8A7BFC #CA7BFC
triadic
#8A7BFC #FC8A7B #7BFC8A
tetradic
#8A7BFC #FC7BAC #EDFC7B #7BFCCA
square
#8A7BFC #FC7BAC #EDFC7B #7BFCCA
split-complementary
#8A7BFC #FCCA7B #ACFC7B
monochromatic
#2206F7 #553FFB #8A7BFC #BFB7FD #E4E1FE
Accessibility & contrast
On white
3.32
#8A7BFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#8A7BFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7BFC
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7BFC | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#3A89F9
Tritanopia (blue-blind)
#6597B0
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a7bfc; /* rgb */ color: rgb(138, 123, 252); /* oklch */ color: oklch(65.8% 0.185 285.4);
Tailwind
colors: {
custom: {
50: '#b2a1fe',
500: '#8a7bfc',
950: '#000000',
},
}SCSS
$custom: #8a7bfc; $custom-light: #b2a1fe; $custom-dark: #000000;
JSON
{
"hex": "#8a7bfc",
"rgb": {
"r": 138,
"g": 123,
"b": 252
},
"hsl": {
"h": 246.977,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.65815,
"c": 0.18517,
"h": 285.4
},
"luminance": 0.26597
}Semantic roles & 50–950 ramp
primary
#8A7BFC
secondary
#F3F7D4
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86