#8F7AFB#8F7AFB
#8F7AFB is a light, vivid blue. Relative luminance 0.267; OKLCH L 66.0% C 0.185 H 287.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7AFB |
|---|---|
| RGB | rgb(143, 122, 251) |
| HSL | hsl(250, 94%, 73%) |
| HSV | hsv(250, 51%, 98%) |
| CMYK | cmyk(43%, 51.4%, 0%, 1.6%) |
| CIE-LAB | lab(58.72, 38.68, -61.97) |
| CIE-LCH | lch(58.72, 73.05, 301.97°) |
| OKLab | oklab(65.98% 0.0562 -0.1761) |
| OKLCH | oklch(65.98% 0.185 287.7) |
| XYZ | xyz(35.6949, 26.7224, 94.5253) |
| Luminance | 0.2672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.40
Lavender Blue
#8B88F8
ΔE00 4.42
Mediumpurple
#9370DB
ΔE00 5.89
Mediumslateblue
#7B68EE
ΔE00 6.24
Perrywinkle
#8F8CE7
ΔE00 6.32
Cornflower
#6A79F7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7AFB #E6FB7A
analogous
#7AA6FB #8F7AFB #CF7AFB
triadic
#8F7AFB #FB8F7A #7AFB8F
tetradic
#8F7AFB #FB7AA6 #E6FB7A #7AFBCF
square
#8F7AFB #FB7AA6 #E6FB7A #7AFBCF
split-complementary
#8F7AFB #FBCF7A #A6FB7A
monochromatic
#2E07F3 #5D3FF9 #8F7AFB #C1B5FD #E6E1FE
Accessibility & contrast
On white
3.31
#8F7AFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#8F7AFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7AFB
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7AFB | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#3E8AF8
Tritanopia (blue-blind)
#6F95AF
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8f7afb; /* rgb */ color: rgb(143, 122, 251); /* oklch */ color: oklch(66.0% 0.185 287.7);
Tailwind
colors: {
custom: {
50: '#b5a1fd',
500: '#8f7afb',
950: '#000000',
},
}SCSS
$custom: #8f7afb; $custom-light: #b5a1fd; $custom-dark: #000000;
JSON
{
"hex": "#8f7afb",
"rgb": {
"r": 143,
"g": 122,
"b": 251
},
"hsl": {
"h": 249.767,
"s": 94.161,
"l": 73.137
},
"oklch": {
"l": 0.65984,
"c": 0.1849,
"h": 287.7
},
"luminance": 0.26724
}Semantic roles & 50–950 ramp
primary
#8F7AFB
secondary
#F1F6D5
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86