#8F7BFB#8F7BFB
#8F7BFB is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.2% C 0.184 H 287.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7BFB |
|---|---|
| RGB | rgb(143, 123, 251) |
| HSL | hsl(249, 94%, 73%) |
| HSV | hsv(249, 51%, 98%) |
| CMYK | cmyk(43%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(58.95, 38.11, -61.60) |
| CIE-LCH | lch(58.95, 72.44, 301.74°) |
| OKLab | oklab(66.16% 0.0551 -0.1751) |
| OKLCH | oklch(66.16% 0.184 287.5) |
| XYZ | xyz(35.8183, 26.9692, 94.5664) |
| Luminance | 0.2697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.12
Lavender Blue
#8B88F8
ΔE00 4.14
Mediumpurple
#9370DB
ΔE00 6.05
Perrywinkle
#8F8CE7
ΔE00 6.07
Mediumslateblue
#7B68EE
ΔE00 6.46
Cornflower
#6A79F7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7BFB #E7FB7B
analogous
#7BA7FB #8F7BFB #CF7BFB
triadic
#8F7BFB #FB8F7B #7BFB8F
tetradic
#8F7BFB #FB7BA7 #E7FB7B #7BFBCF
square
#8F7BFB #FB7BA7 #E7FB7B #7BFBCF
split-complementary
#8F7BFB #FBCF7B #A7FB7B
monochromatic
#2C07F4 #5D40F9 #8F7BFB #C1B6FD #E6E1FE
Accessibility & contrast
On white
3.28
#8F7BFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#8F7BFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7BFB
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7BFB | 1.00 | 3.28 | 6.39 | 6.39 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#408AF8
Tritanopia (blue-blind)
#6E96AF
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8f7bfb; /* rgb */ color: rgb(143, 123, 251); /* oklch */ color: oklch(66.2% 0.184 287.5);
Tailwind
colors: {
custom: {
50: '#b5a1fd',
500: '#8f7bfb',
950: '#000000',
},
}SCSS
$custom: #8f7bfb; $custom-light: #b5a1fd; $custom-dark: #000000;
JSON
{
"hex": "#8f7bfb",
"rgb": {
"r": 143,
"g": 123,
"b": 251
},
"hsl": {
"h": 249.375,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.66156,
"c": 0.18351,
"h": 287.5
},
"luminance": 0.26971
}Semantic roles & 50–950 ramp
primary
#8F7BFB
secondary
#F1F6D5
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86