#7F97FA#7F97FA
#7F97FA is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.1% C 0.148 H 271.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F97FA |
|---|---|
| RGB | rgb(127, 151, 250) |
| HSL | hsl(228, 92%, 74%) |
| HSV | hsv(228, 49%, 98%) |
| CMYK | cmyk(49.2%, 39.6%, 0%, 2%) |
| CIE-LAB | lab(64.60, 17.90, -52.11) |
| CIE-LCH | lch(64.60, 55.10, 288.95°) |
| OKLab | oklab(70.13% 0.0047 -0.1474) |
| OKLCH | oklch(70.13% 0.148 271.8) |
| XYZ | xyz(37.0688, 33.5450, 94.9455) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.10
Cornflowerblue
#6495ED
ΔE00 5.24
Soft Blue
#6488EA
ΔE00 5.74
Lavender Blue
#8B88F8
ΔE00 6.08
Perrywinkle
#8F8CE7
ΔE00 6.52
Periwinkle (survey)
#8E82FE
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F97FA #FAE27F
analogous
#7FD5FA #7F97FA #A57FFA
triadic
#7F97FA #FA7F97 #97FA7F
tetradic
#7F97FA #FA7FD5 #FAE27F #7FFAA5
square
#7F97FA #FA7FD5 #FAE27F #7FFAA5
split-complementary
#7F97FA #FAA57F #D5FA7F
monochromatic
#0A38F5 #4467F8 #7F97FA #BAC7FC #E2E7FE
Accessibility & contrast
On white
2.72
#7F97FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#7F97FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7F97FA
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F97FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F97FA | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#4CACBC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #7f97fa; /* rgb */ color: rgb(127, 151, 250); /* oklch */ color: oklch(70.1% 0.148 271.8);
Tailwind
colors: {
custom: {
50: '#aab5fc',
500: '#7f97fa',
950: '#000000',
},
}SCSS
$custom: #7f97fa; $custom-light: #aab5fc; $custom-dark: #000000;
JSON
{
"hex": "#7f97fa",
"rgb": {
"r": 127,
"g": 151,
"b": 250
},
"hsl": {
"h": 228.293,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.70134,
"c": 0.14753,
"h": 271.8
},
"luminance": 0.33547
}Semantic roles & 50–950 ramp
primary
#7F97FA
secondary
#F6F0D5
accent
#B900E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111117
muted
#808085