#8D7CFD#8D7CFD
#8D7CFD is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.3% C 0.185 H 286.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7CFD |
|---|---|
| RGB | rgb(141, 124, 253) |
| HSL | hsl(248, 97%, 74%) |
| HSV | hsv(248, 51%, 99%) |
| CMYK | cmyk(44.3%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(59.13, 37.65, -62.42) |
| CIE-LCH | lch(59.13, 72.89, 301.10°) |
| OKLab | oklab(66.29% 0.0517 -0.1775) |
| OKLCH | oklch(66.29% 0.185 286.2) |
| XYZ | xyz(35.9167, 27.1684, 96.2610) |
| Luminance | 0.2717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.71
Lavender Blue
#8B88F8
ΔE00 3.75
Perrywinkle
#8F8CE7
ΔE00 5.92
Cornflower
#6A79F7
ΔE00 6.07
Mediumpurple
#9370DB
ΔE00 6.58
Mediumslateblue
#7B68EE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7CFD #ECFD7C
analogous
#7CACFD #8D7CFD #CE7CFD
triadic
#8D7CFD #FD8D7C #7CFD8D
tetradic
#8D7CFD #FD7CAC #ECFD7C #7CFDCE
square
#8D7CFD #FD7CAC #ECFD7C #7CFDCE
split-complementary
#8D7CFD #FDCE7C #ACFD7C
monochromatic
#2404FB #5940FC #8D7CFD #C1B8FE #E5E1FF
Accessibility & contrast
On white
3.26
#8D7CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#8D7CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7CFD
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7CFD | 1.00 | 3.26 | 6.43 | 6.43 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#3D8BFA
Tritanopia (blue-blind)
#6A97B1
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8d7cfd; /* rgb */ color: rgb(141, 124, 253); /* oklch */ color: oklch(66.3% 0.185 286.2);
Tailwind
colors: {
custom: {
50: '#b4a2ff',
500: '#8d7cfd',
950: '#000000',
},
}SCSS
$custom: #8d7cfd; $custom-light: #b4a2ff; $custom-dark: #000000;
JSON
{
"hex": "#8d7cfd",
"rgb": {
"r": 141,
"g": 124,
"b": 253
},
"hsl": {
"h": 247.907,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.66291,
"c": 0.18486,
"h": 286.2
},
"luminance": 0.2717
}Semantic roles & 50–950 ramp
primary
#8D7CFD
secondary
#F2F7D4
accent
#E600C7
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86