#8C7DFD#8C7DFD
#8C7DFD is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.4% C 0.184 H 285.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8C7DFD |
|---|---|
| RGB | rgb(140, 125, 253) |
| HSL | hsl(247, 97%, 74%) |
| HSV | hsv(247, 51%, 99%) |
| CMYK | cmyk(44.7%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(59.28, 36.85, -62.18) |
| CIE-LCH | lch(59.28, 72.28, 300.65°) |
| OKLab | oklab(66.38% 0.0493 -0.1768) |
| OKLCH | oklch(66.38% 0.184 285.6) |
| XYZ | xyz(35.8733, 27.3330, 96.2951) |
| Luminance | 0.2733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.42
Lavender Blue
#8B88F8
ΔE00 3.42
Perrywinkle
#8F8CE7
ΔE00 5.68
Cornflower
#6A79F7
ΔE00 5.87
Mediumslateblue
#7B68EE
ΔE00 6.81
Mediumpurple
#9370DB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C7DFD #EEFD7D
analogous
#7DAEFD #8C7DFD #CC7DFD
triadic
#8C7DFD #FD8C7D #7DFD8C
tetradic
#8C7DFD #FD7DAE #EEFD7D #7DFDCC
square
#8C7DFD #FD7DAE #EEFD7D #7DFDCC
split-complementary
#8C7DFD #FDCC7D #AEFD7D
monochromatic
#2104FB #5741FC #8C7DFD #C1B9FE #E4E1FF
Accessibility & contrast
On white
3.25
#8C7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#8C7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C7DFD
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C7DFD | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#6898B1
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8c7dfd; /* rgb */ color: rgb(140, 125, 253); /* oklch */ color: oklch(66.4% 0.184 285.6);
Tailwind
colors: {
custom: {
50: '#b4a3ff',
500: '#8c7dfd',
950: '#000000',
},
}SCSS
$custom: #8c7dfd; $custom-light: #b4a3ff; $custom-dark: #000000;
JSON
{
"hex": "#8c7dfd",
"rgb": {
"r": 140,
"g": 125,
"b": 253
},
"hsl": {
"h": 247.031,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.66384,
"c": 0.18357,
"h": 285.6
},
"luminance": 0.27335
}Semantic roles & 50–950 ramp
primary
#8C7DFD
secondary
#F3F7D4
accent
#E600CB
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86