#8F7BFE#8F7BFE
#8F7BFE is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.3% C 0.187 H 287.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7BFE |
|---|---|
| RGB | rgb(143, 123, 254) |
| HSL | hsl(249, 98%, 74%) |
| HSV | hsv(249, 52%, 100%) |
| CMYK | cmyk(43.7%, 51.6%, 0%, 0.4%) |
| CIE-LAB | lab(59.12, 38.95, -62.97) |
| CIE-LCH | lch(59.12, 74.04, 301.74°) |
| OKLab | oklab(66.34% 0.0553 -0.1791) |
| OKLCH | oklch(66.34% 0.187 287.1) |
| XYZ | xyz(36.2949, 27.1599, 97.0767) |
| Luminance | 0.2716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.06
Lavender Blue
#8B88F8
ΔE00 4.17
Perrywinkle
#8F8CE7
ΔE00 6.26
Mediumpurple
#9370DB
ΔE00 6.38
Cornflower
#6A79F7
ΔE00 6.46
Mediumslateblue
#7B68EE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7BFE #EAFE7B
analogous
#7BA9FE #8F7BFE #D17BFE
triadic
#8F7BFE #FE8F7B #7BFE8F
tetradic
#8F7BFE #FE7BA9 #EAFE7B #7BFED1
square
#8F7BFE #FE7BA9 #EAFE7B #7BFED1
split-complementary
#8F7BFE #FED17B #A9FE7B
monochromatic
#2802FD #5B3EFE #8F7BFE #C3B8FE #E5E1FF
Accessibility & contrast
On white
3.26
#8F7BFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#8F7BFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7BFE
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7BFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7BFE | 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)
#3D92FF
Deuteranopia (green-blind)
#3C8BFB
Tritanopia (blue-blind)
#6D97B1
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8f7bfe; /* rgb */ color: rgb(143, 123, 254); /* oklch */ color: oklch(66.3% 0.187 287.1);
Tailwind
colors: {
custom: {
50: '#b6a1ff',
500: '#8f7bfe',
950: '#000000',
},
}SCSS
$custom: #8f7bfe; $custom-light: #b6a1ff; $custom-dark: #000000;
JSON
{
"hex": "#8f7bfe",
"rgb": {
"r": 143,
"g": 123,
"b": 254
},
"hsl": {
"h": 249.16,
"s": 98.496,
"l": 73.922
},
"oklch": {
"l": 0.66344,
"c": 0.18741,
"h": 287.1
},
"luminance": 0.27161
}Semantic roles & 50–950 ramp
primary
#8F7BFE
secondary
#F2F7D4
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86