#8F7DFD#8F7DFD
#8F7DFD is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.6% C 0.183 H 286.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7DFD |
|---|---|
| RGB | rgb(143, 125, 253) |
| HSL | hsl(248, 97%, 74%) |
| HSV | hsv(248, 51%, 99%) |
| CMYK | cmyk(43.5%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(59.52, 37.52, -61.78) |
| CIE-LCH | lch(59.52, 72.28, 301.27°) |
| OKLab | oklab(66.62% 0.0529 -0.1756) |
| OKLCH | oklch(66.62% 0.183 286.8) |
| XYZ | xyz(36.3859, 27.5973, 96.3191) |
| Luminance | 0.2760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.51
Lavender Blue
#8B88F8
ΔE00 3.61
Perrywinkle
#8F8CE7
ΔE00 5.71
Cornflower
#6A79F7
ΔE00 6.42
Mediumpurple
#9370DB
ΔE00 6.61
Mediumslateblue
#7B68EE
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7DFD #EBFD7D
analogous
#7DABFD #8F7DFD #CF7DFD
triadic
#8F7DFD #FD8F7D #7DFD8F
tetradic
#8F7DFD #FD7DAB #EBFD7D #7DFDCF
square
#8F7DFD #FD7DAB #EBFD7D #7DFDCF
split-complementary
#8F7DFD #FDCF7D #ABFD7D
monochromatic
#2704FB #5B41FC #8F7DFD #C3B9FE #E5E1FF
Accessibility & contrast
On white
3.22
#8F7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#8F7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7DFD
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7DFD | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#418CFA
Tritanopia (blue-blind)
#6D98B1
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8f7dfd; /* rgb */ color: rgb(143, 125, 253); /* oklch */ color: oklch(66.6% 0.183 286.8);
Tailwind
colors: {
custom: {
50: '#b5a3ff',
500: '#8f7dfd',
950: '#000000',
},
}SCSS
$custom: #8f7dfd; $custom-light: #b5a3ff; $custom-dark: #000000;
JSON
{
"hex": "#8f7dfd",
"rgb": {
"r": 143,
"g": 125,
"b": 253
},
"hsl": {
"h": 248.438,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.66624,
"c": 0.18336,
"h": 286.8
},
"luminance": 0.27599
}Semantic roles & 50–950 ramp
primary
#8F7DFD
secondary
#F2F7D4
accent
#E600C5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86