#7D97EF#7D97EF

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

Color values

HEX#7D97EF
RGBrgb(125, 151, 239)
HSLhsl(226, 78%, 71%)
HSVhsv(226, 48%, 94%)
CMYKcmyk(47.7%, 36.8%, 0%, 6.3%)
CIE-LABlab(63.94, 14.17, -47.13)
CIE-LCHlch(63.94, 49.22, 286.73°)
OKLaboklab(69.41% 0.0005 -0.133)
OKLCHoklch(69.41% 0.133 270.2)
XYZxyz(35.0991, 32.7230, 86.1113)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D97EF #EFD57D
analogous
#7DD0EF #7D97EF #9C7DEF
triadic
#7D97EF #EF7D97 #97EF7D
tetradic
#7D97EF #EF7DD0 #EFD57D #7DEF9C
square
#7D97EF #EF7DD0 #EFD57D #7DEF9C
split-complementary
#7D97EF #EF9C7D #D0EF7D
monochromatic
#1A46D7 #476BE8 #7D97EF #B3C3F6 #E4E9FC

Accessibility & contrast

On white

2.78
#7D97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#7D97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D97EF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D97EF#FFFFFF#000000##000000
##7D97EF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d97ef;
/* rgb */ color: rgb(125, 151, 239);
/* oklch */ color: oklch(69.4% 0.133 270.2);
Tailwind
colors: {
  custom: {
    50: '#a8b5f4',
    500: '#7d97ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d97ef;
$custom-light: #a8b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d97ef",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 226.316,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69414,
    "c": 0.13296,
    "h": 270.2
  },
  "luminance": 0.32725
}

Semantic roles & 50–950 ramp

primary
#7D97EF
secondary
#F3ECD5
accent
#AB0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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