#7C97EF#7C97EF

#7C97EF is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.4% C 0.133 H 269.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7C97EF
RGBrgb(124, 151, 239)
HSLhsl(226, 78%, 71%)
HSVhsv(226, 48%, 94%)
CMYKcmyk(48.1%, 36.8%, 0%, 6.3%)
CIE-LABlab(63.88, 13.94, -47.23)
CIE-LCHlch(63.88, 49.25, 286.44°)
OKLaboklab(69.35% -0.0005 -0.1333)
OKLCHoklch(69.35% 0.133 269.8)
XYZxyz(34.9538, 32.6481, 86.1045)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C97EF #EFD47C
analogous
#7CD0EF #7C97EF #9A7CEF
triadic
#7C97EF #EF7C97 #97EF7C
tetradic
#7C97EF #EF7CD0 #EFD47C #7CEF9A
square
#7C97EF #EF7CD0 #EFD47C #7CEF9A
split-complementary
#7C97EF #EF9A7C #D0EF7C
monochromatic
#1A46D6 #456CE8 #7C97EF #B3C2F6 #E4E9FC

Accessibility & contrast

On white

2.79
#7C97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7C97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C97EF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C97EF#FFFFFF#000000##000000
##7C97EF1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#6A96ED
Tritanopia (blue-blind)
#4DAAB8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7c97ef;
/* rgb */ color: rgb(124, 151, 239);
/* oklch */ color: oklch(69.4% 0.133 269.8);
Tailwind
colors: {
  custom: {
    50: '#a8b5f4',
    500: '#7c97ef',
    950: '#000000',
  },
}
SCSS
$custom: #7c97ef;
$custom-light: #a8b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c97ef",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 225.913,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69351,
    "c": 0.13328,
    "h": 269.8
  },
  "luminance": 0.3265
}

Semantic roles & 50–950 ramp

primary
#7C97EF
secondary
#F3EBD4
accent
#AA0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7C97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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