#7C97EA#7C97EA

#7C97EA is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.1% C 0.126 H 269.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7C97EA
RGBrgb(124, 151, 234)
HSLhsl(225, 72%, 70%)
HSVhsv(225, 47%, 92%)
CMYKcmyk(47%, 35.5%, 0%, 8.2%)
CIE-LABlab(63.64, 12.46, -44.86)
CIE-LCHlch(63.64, 46.55, 285.52°)
OKLaboklab(69.09% -0.0017 -0.1263)
OKLCHoklch(69.09% 0.126 269.2)
XYZxyz(34.2253, 32.3567, 82.2680)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C97EA #EACF7C
analogous
#7CCEEA #7C97EA #987CEA
triadic
#7C97EA #EA7C97 #97EA7C
tetradic
#7C97EA #EA7CCE #EACF7C #7CEA98
square
#7C97EA #EA7CCE #EACF7C #7CEA98
split-complementary
#7C97EA #EA987C #CEEA7C
monochromatic
#214ACB #476DE2 #7C97EA #B1C1F2 #E5EAFB

Accessibility & contrast

On white

2.81
#7C97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7C97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C97EA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C97EA#FFFFFF#000000##000000
##7C97EA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FED
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#51A8B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7c97ea;
/* rgb */ color: rgb(124, 151, 234);
/* oklch */ color: oklch(69.1% 0.126 269.2);
Tailwind
colors: {
  custom: {
    50: '#a7b5f1',
    500: '#7c97ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c97ea;
$custom-light: #a7b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c97ea",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 225.273,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69089,
    "c": 0.12636,
    "h": 269.2
  },
  "luminance": 0.32359
}

Semantic roles & 50–950 ramp

primary
#7C97EA
secondary
#F0E9D2
accent
#A411D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7C97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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