#7D97FF#7D97FF

#7D97FF is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.3% C 0.155 H 271.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7D97FF
RGBrgb(125, 151, 255)
HSLhsl(228, 100%, 75%)
HSVhsv(228, 51%, 100%)
CMYKcmyk(51%, 40.8%, 0%, 0%)
CIE-LABlab(64.73, 18.96, -54.64)
CIE-LCHlch(64.73, 57.83, 289.14°)
OKLaboklab(70.29% 0.0037 -0.1549)
OKLCHoklch(70.29% 0.155 271.3)
XYZxyz(37.5682, 33.7107, 99.1155)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D97FF #FFE57D
analogous
#7DD8FF #7D97FF #A47DFF
triadic
#7D97FF #FF7D97 #97FF7D
tetradic
#7D97FF #FF7DD8 #FFE57D #7DFFA4
square
#7D97FF #FF7DD8 #FFE57D #7DFFA4
split-complementary
#7D97FF #FFA47D #D8FF7D
monochromatic
#0335FF #4066FF #7D97FF #BAC8FF #E0E7FF

Accessibility & contrast

On white

2.71
#7D97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#7D97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D97FF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D97FF#FFFFFF#000000##000000
##7D97FF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d97ff;
/* rgb */ color: rgb(125, 151, 255);
/* oklch */ color: oklch(70.3% 0.155 271.3);
Tailwind
colors: {
  custom: {
    50: '#aab5ff',
    500: '#7d97ff',
    950: '#000000',
  },
}
SCSS
$custom: #7d97ff;
$custom-light: #aab5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d97ff",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 228,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70287,
    "c": 0.15493,
    "h": 271.3
  },
  "luminance": 0.33713
}

Semantic roles & 50–950 ramp

primary
#7D97FF
secondary
#F7F0D4
accent
#B800E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7D97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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