#8F97FA#8F97FA
#8F97FA is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.2% C 0.144 H 278.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8F97FA |
|---|---|
| RGB | rgb(143, 151, 250) |
| HSL | hsl(236, 91%, 77%) |
| HSV | hsv(236, 43%, 98%) |
| CMYK | cmyk(42.8%, 39.6%, 0%, 2%) |
| CIE-LAB | lab(65.65, 21.64, -50.38) |
| CIE-LCH | lch(65.65, 54.83, 293.25°) |
| OKLab | oklab(71.21% 0.0214 -0.1421) |
| OKLCH | oklch(71.21% 0.144 278.6) |
| XYZ | xyz(39.6445, 34.8731, 95.0662) |
| Luminance | 0.3488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 0.63
Perrywinkle
#8F8CE7
ΔE00 4.29
Lavender Blue
#8B88F8
ΔE00 4.39
Periwinkle (survey)
#8E82FE
ΔE00 6.35
Soft Blue
#6488EA
ΔE00 8.06
Cornflowerblue
#6495ED
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F97FA #FAF28F
analogous
#8FCDFA #8F97FA #BD8FFA
triadic
#8F97FA #FA8F97 #97FA8F
tetradic
#8F97FA #FA8FCD #FAF28F #8FFABD
square
#8F97FA #FA8FCD #FAF28F #8FFABD
split-complementary
#8F97FA #FABD8F #CDFA8F
monochromatic
#1A2AF5 #5461F7 #8F97FA #CACDFD #E2E4FE
Accessibility & contrast
On white
2.63
#8F97FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#8F97FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8F97FA
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F97FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F97FA | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#6CABBC
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #8f97fa; /* rgb */ color: rgb(143, 151, 250); /* oklch */ color: oklch(71.2% 0.144 278.6);
Tailwind
colors: {
custom: {
50: '#b4b5fc',
500: '#8f97fa',
950: '#000000',
},
}SCSS
$custom: #8f97fa; $custom-light: #b4b5fc; $custom-dark: #000000;
JSON
{
"hex": "#8f97fa",
"rgb": {
"r": 143,
"g": 151,
"b": 250
},
"hsl": {
"h": 235.514,
"s": 91.453,
"l": 77.059
},
"oklch": {
"l": 0.71208,
"c": 0.14368,
"h": 278.6
},
"luminance": 0.34875
}Semantic roles & 50–950 ramp
primary
#8F97FA
secondary
#F6F3D5
accent
#D400E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085