#7C97FD#7C97FD
#7C97FD is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.1% C 0.152 H 270.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C97FD |
|---|---|
| RGB | rgb(124, 151, 253) |
| HSL | hsl(227, 97%, 74%) |
| HSV | hsv(227, 51%, 99%) |
| CMYK | cmyk(51%, 40.3%, 0%, 0.8%) |
| CIE-LAB | lab(64.57, 18.14, -53.81) |
| CIE-LCH | lch(64.57, 56.78, 288.63°) |
| OKLab | oklab(70.11% 0.0023 -0.1525) |
| OKLCH | oklch(70.11% 0.153 270.9) |
| XYZ | xyz(37.1027, 33.5077, 97.4220) |
| Luminance | 0.3351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.69
Cornflowerblue
#6495ED
ΔE00 4.81
Soft Blue
#6488EA
ΔE00 5.56
Lavender Blue
#8B88F8
ΔE00 6.51
Perrywinkle
#8F8CE7
ΔE00 7.13
Periwinkle (survey)
#8E82FE
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C97FD #FDE27C
analogous
#7CD8FD #7C97FD #A27CFD
triadic
#7C97FD #FD7C97 #97FD7C
tetradic
#7C97FD #FD7CD8 #FDE27C #7CFDA2
square
#7C97FD #FD7CD8 #FDE27C #7CFDA2
split-complementary
#7C97FD #FDA27C #D8FD7C
monochromatic
#0438FB #4067FC #7C97FD #B8C7FE #E1E7FF
Accessibility & contrast
On white
2.73
#7C97FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#7C97FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7C97FD
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C97FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C97FD | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#42ADBE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #7c97fd; /* rgb */ color: rgb(124, 151, 253); /* oklch */ color: oklch(70.1% 0.152 270.9);
Tailwind
colors: {
custom: {
50: '#a9b5fe',
500: '#7c97fd',
950: '#000000',
},
}SCSS
$custom: #7c97fd; $custom-light: #a9b5fe; $custom-dark: #000000;
JSON
{
"hex": "#7c97fd",
"rgb": {
"r": 124,
"g": 151,
"b": 253
},
"hsl": {
"h": 227.442,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.70113,
"c": 0.1525,
"h": 270.9
},
"luminance": 0.3351
}Semantic roles & 50–950 ramp
primary
#7C97FD
secondary
#F7F0D4
accent
#B500E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086