#8A7BFD#8A7BFD
#8A7BFD is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.9% C 0.186 H 285.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7BFD |
|---|---|
| RGB | rgb(138, 123, 253) |
| HSL | hsl(247, 97%, 74%) |
| HSV | hsv(247, 51%, 99%) |
| CMYK | cmyk(45.5%, 51.4%, 0%, 0.8%) |
| CIE-LAB | lab(58.66, 37.56, -63.19) |
| CIE-LCH | lch(58.66, 73.51, 300.73°) |
| OKLab | oklab(65.88% 0.0493 -0.1798) |
| OKLCH | oklch(65.88% 0.186 285.3) |
| XYZ | xyz(35.2886, 26.6595, 96.1959) |
| Luminance | 0.2666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.01
Lavender Blue
#8B88F8
ΔE00 3.91
Cornflower
#6A79F7
ΔE00 5.55
Perrywinkle
#8F8CE7
ΔE00 6.15
Mediumslateblue
#7B68EE
ΔE00 6.24
Mediumpurple
#9370DB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7BFD #EEFD7B
analogous
#7BADFD #8A7BFD #CB7BFD
triadic
#8A7BFD #FD8A7B #7BFD8A
tetradic
#8A7BFD #FD7BAD #EEFD7B #7BFDCB
square
#8A7BFD #FD7BAD #EEFD7B #7BFDCB
split-complementary
#8A7BFD #FDCB7B #ADFD7B
monochromatic
#2004FA #553FFC #8A7BFD #BFB7FE #E4E1FF
Accessibility & contrast
On white
3.32
#8A7BFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#8A7BFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7BFD
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7BFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7BFD | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3889FA
Tritanopia (blue-blind)
#6497B0
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a7bfd; /* rgb */ color: rgb(138, 123, 253); /* oklch */ color: oklch(65.9% 0.186 285.3);
Tailwind
colors: {
custom: {
50: '#b2a1ff',
500: '#8a7bfd',
950: '#000000',
},
}SCSS
$custom: #8a7bfd; $custom-light: #b2a1ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7bfd",
"rgb": {
"r": 138,
"g": 123,
"b": 253
},
"hsl": {
"h": 246.923,
"s": 97.015,
"l": 73.725
},
"oklch": {
"l": 0.65879,
"c": 0.18648,
"h": 285.3
},
"luminance": 0.26661
}Semantic roles & 50–950 ramp
primary
#8A7BFD
secondary
#F3F7D4
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86