#7C97FF#7C97FF

#7C97FF is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.2% C 0.155 H 271.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7C97FF
RGBrgb(124, 151, 255)
HSLhsl(228, 100%, 74%)
HSVhsv(228, 51%, 100%)
CMYKcmyk(51.4%, 40.8%, 0%, 0%)
CIE-LABlab(64.67, 18.74, -54.74)
CIE-LCHlch(64.67, 57.86, 288.90°)
OKLaboklab(70.23% 0.0027 -0.1552)
OKLCHoklch(70.23% 0.155 271)
XYZxyz(37.4229, 33.6358, 99.1087)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C97FF #FFE47C
analogous
#7CD8FF #7C97FF #A37CFF
triadic
#7C97FF #FF7C97 #97FF7C
tetradic
#7C97FF #FF7CD8 #FFE47C #7CFFA3
square
#7C97FF #FF7CD8 #FFE47C #7CFFA3
split-complementary
#7C97FF #FFA37C #D8FF7C
monochromatic
#0236FF #3F66FF #7C97FF #B9C8FF #E0E7FF

Accessibility & contrast

On white

2.72
#7C97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#7C97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C97FF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C97FF#FFFFFF#000000##000000
##7C97FF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#5E98FD
Tritanopia (blue-blind)
#40ADBF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7c97ff;
/* rgb */ color: rgb(124, 151, 255);
/* oklch */ color: oklch(70.2% 0.155 271.0);
Tailwind
colors: {
  custom: {
    50: '#a9b5ff',
    500: '#7c97ff',
    950: '#000000',
  },
}
SCSS
$custom: #7c97ff;
$custom-light: #a9b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c97ff",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 227.634,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70225,
    "c": 0.15522,
    "h": 271
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

primary
#7C97FF
secondary
#F7F0D4
accent
#B600E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7C97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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