#8A7CFD#8A7CFD
#8A7CFD is a light, vivid blue. Relative luminance 0.269; OKLCH L 66.1% C 0.185 H 285.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7CFD |
|---|---|
| RGB | rgb(138, 124, 253) |
| HSL | hsl(247, 97%, 74%) |
| HSV | hsv(247, 51%, 99%) |
| CMYK | cmyk(45.5%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(58.89, 36.99, -62.82) |
| CIE-LCH | lch(58.89, 72.90, 300.49°) |
| OKLab | oklab(66.05% 0.0481 -0.1787) |
| OKLCH | oklch(66.05% 0.185 285.1) |
| XYZ | xyz(35.4133, 26.9089, 96.2374) |
| Luminance | 0.2691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.74
Lavender Blue
#8B88F8
ΔE00 3.62
Cornflower
#6A79F7
ΔE00 5.52
Perrywinkle
#8F8CE7
ΔE00 5.91
Mediumslateblue
#7B68EE
ΔE00 6.48
Mediumpurple
#9370DB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7CFD #EFFD7C
analogous
#7CAFFD #8A7CFD #CB7CFD
triadic
#8A7CFD #FD8A7C #7CFD8A
tetradic
#8A7CFD #FD7CAF #EFFD7C #7CFDCB
square
#8A7CFD #FD7CAF #EFFD7C #7CFDCB
split-complementary
#8A7CFD #FDCB7C #AFFD7C
monochromatic
#1F04FB #5440FC #8A7CFD #C0B8FE #E4E1FF
Accessibility & contrast
On white
3.29
#8A7CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#8A7CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7CFD
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7CFD | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#3A8AFA
Tritanopia (blue-blind)
#6498B1
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8a7cfd; /* rgb */ color: rgb(138, 124, 253); /* oklch */ color: oklch(66.1% 0.185 285.1);
Tailwind
colors: {
custom: {
50: '#b2a2ff',
500: '#8a7cfd',
950: '#000000',
},
}SCSS
$custom: #8a7cfd; $custom-light: #b2a2ff; $custom-dark: #000000;
JSON
{
"hex": "#8a7cfd",
"rgb": {
"r": 138,
"g": 124,
"b": 253
},
"hsl": {
"h": 246.512,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.66052,
"c": 0.18512,
"h": 285.1
},
"luminance": 0.2691
}Semantic roles & 50–950 ramp
primary
#8A7CFD
secondary
#F3F7D4
accent
#E600CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86