#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
RGBrgb(124, 151, 253)
HSLhsl(227, 97%, 74%)
HSVhsv(227, 51%, 99%)
CMYKcmyk(51%, 40.3%, 0%, 0.8%)
CIE-LABlab(64.57, 18.14, -53.81)
CIE-LCHlch(64.57, 56.78, 288.63°)
OKLaboklab(70.11% 0.0023 -0.1525)
OKLCHoklch(70.11% 0.153 270.9)
XYZxyz(37.1027, 33.5077, 97.4220)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##7C97FD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.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

Preview Lab

Preview with #7C97FD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7C97FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva