#7D97F2#7D97F2

#7D97F2 is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.6% C 0.137 H 270.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7D97F2
RGBrgb(125, 151, 242)
HSLhsl(227, 82%, 72%)
HSVhsv(227, 48%, 95%)
CMYKcmyk(48.3%, 37.6%, 0%, 5.1%)
CIE-LABlab(64.08, 15.06, -48.55)
CIE-LCHlch(64.08, 50.83, 287.23°)
OKLaboklab(69.57% 0.0011 -0.1371)
OKLCHoklch(69.57% 0.137 270.5)
XYZxyz(35.5459, 32.9018, 88.4648)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D97F2 #F2D87D
analogous
#7DD1F2 #7D97F2 #9E7DF2
triadic
#7D97F2 #F27D97 #97F27D
tetradic
#7D97F2 #F27DD1 #F2D87D #7DF29E
square
#7D97F2 #F27DD1 #F2D87D #7DF29E
split-complementary
#7D97F2 #F29E7D #D1F27D
monochromatic
#1643DE #456AEC #7D97F2 #B5C4F8 #E3E9FC

Accessibility & contrast

On white

2.77
#7D97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#7D97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D97F2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D97F2#FFFFFF#000000##000000
##7D97F21.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#6897F0
Tritanopia (blue-blind)
#4DAAB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7d97f2;
/* rgb */ color: rgb(125, 151, 242);
/* oklch */ color: oklch(69.6% 0.137 270.5);
Tailwind
colors: {
  custom: {
    50: '#a8b5f7',
    500: '#7d97f2',
    950: '#000000',
  },
}
SCSS
$custom: #7d97f2;
$custom-light: #a8b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d97f2",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 226.667,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.1371,
    "h": 270.5
  },
  "luminance": 0.32904
}

Semantic roles & 50–950 ramp

primary
#7D97F2
secondary
#F4EED7
accent
#AE07DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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