#8F7BFD#8F7BFD
#8F7BFD is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.3% C 0.186 H 287.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7BFD |
|---|---|
| RGB | rgb(143, 123, 253) |
| HSL | hsl(249, 97%, 74%) |
| HSV | hsv(249, 51%, 99%) |
| CMYK | cmyk(43.5%, 51.4%, 0%, 0.8%) |
| CIE-LAB | lab(59.06, 38.67, -62.52) |
| CIE-LCH | lch(59.06, 73.51, 301.74°) |
| OKLab | oklab(66.28% 0.0552 -0.1777) |
| OKLCH | oklch(66.28% 0.186 287.3) |
| XYZ | xyz(36.1352, 27.0960, 96.2356) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.08
Lavender Blue
#8B88F8
ΔE00 4.16
Perrywinkle
#8F8CE7
ΔE00 6.19
Mediumpurple
#9370DB
ΔE00 6.27
Cornflower
#6A79F7
ΔE00 6.46
Mediumslateblue
#7B68EE
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7BFD #E9FD7B
analogous
#7BA8FD #8F7BFD #D07BFD
triadic
#8F7BFD #FD8F7B #7BFD8F
tetradic
#8F7BFD #FD7BA8 #E9FD7B #7BFDD0
square
#8F7BFD #FD7BA8 #E9FD7B #7BFDD0
split-complementary
#8F7BFD #FDD07B #A8FD7B
monochromatic
#2A04FA #5C3FFC #8F7BFD #C2B7FE #E5E1FF
Accessibility & contrast
On white
3.27
#8F7BFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#8F7BFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7BFD
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7BFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7BFD | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#6D97B0
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8f7bfd; /* rgb */ color: rgb(143, 123, 253); /* oklch */ color: oklch(66.3% 0.186 287.3);
Tailwind
colors: {
custom: {
50: '#b6a1ff',
500: '#8f7bfd',
950: '#000000',
},
}SCSS
$custom: #8f7bfd; $custom-light: #b6a1ff; $custom-dark: #000000;
JSON
{
"hex": "#8f7bfd",
"rgb": {
"r": 143,
"g": 123,
"b": 253
},
"hsl": {
"h": 249.231,
"s": 97.015,
"l": 73.725
},
"oklch": {
"l": 0.66281,
"c": 0.18611,
"h": 287.3
},
"luminance": 0.27097
}Semantic roles & 50–950 ramp
primary
#8F7BFD
secondary
#F1F7D4
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86