#7D97FC#7D97FC

#7D97FC is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.1% C 0.151 H 271.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7D97FC
RGBrgb(125, 151, 252)
HSLhsl(228, 95%, 74%)
HSVhsv(228, 50%, 99%)
CMYKcmyk(50.4%, 40.1%, 0%, 1.2%)
CIE-LABlab(64.58, 18.05, -53.24)
CIE-LCHlch(64.58, 56.22, 288.73°)
OKLaboklab(70.12% 0.0031 -0.1508)
OKLCHoklch(70.12% 0.151 271.2)
XYZxyz(37.0891, 33.5190, 96.5920)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D97FC #FCE27D
analogous
#7DD6FC #7D97FC #A37DFC
triadic
#7D97FC #FC7D97 #97FC7D
tetradic
#7D97FC #FC7DD6 #FCE27D #7DFCA3
square
#7D97FC #FC7DD6 #FCE27D #7DFCA3
split-complementary
#7D97FC #FCA37D #D6FC7D
monochromatic
#0638F9 #4167FB #7D97FC #B9C7FD #E1E7FE

Accessibility & contrast

On white

2.73
#7D97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7D97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D97FC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D97FC#FFFFFF#000000##000000
##7D97FC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#6197FA
Tritanopia (blue-blind)
#45ADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7d97fc;
/* rgb */ color: rgb(125, 151, 252);
/* oklch */ color: oklch(70.1% 0.151 271.2);
Tailwind
colors: {
  custom: {
    50: '#aab5fe',
    500: '#7d97fc',
    950: '#000000',
  },
}
SCSS
$custom: #7d97fc;
$custom-light: #aab5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d97fc",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 227.717,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.15083,
    "h": 271.2
  },
  "luminance": 0.33521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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