#7D97FB#7D97FB

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

Color values

HEX#7D97FB
RGBrgb(125, 151, 251)
HSLhsl(228, 94%, 74%)
HSVhsv(228, 50%, 98%)
CMYKcmyk(50.2%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.53, 17.75, -52.78)
CIE-LCHlch(64.53, 55.68, 288.59°)
OKLaboklab(70.06% 0.0029 -0.1494)
OKLCHoklch(70.06% 0.149 271.1)
XYZxyz(36.9310, 33.4558, 95.7596)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D97FB #FBE17D
analogous
#7DD6FB #7D97FB #A27DFB
triadic
#7D97FB #FB7D97 #97FB7D
tetradic
#7D97FB #FB7DD6 #FBE17D #7DFBA2
square
#7D97FB #FB7DD6 #FBE17D #7DFBA2
split-complementary
#7D97FB #FBA27D #D6FB7D
monochromatic
#0839F6 #4267F9 #7D97FB #B8C6FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.69
#7D97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D97FB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D97FB#FFFFFF#000000##000000
##7D97FB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#46ACBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7d97fb;
/* rgb */ color: rgb(125, 151, 251);
/* oklch */ color: oklch(70.1% 0.149 271.1);
Tailwind
colors: {
  custom: {
    50: '#a9b5fd',
    500: '#7d97fb',
    950: '#000000',
  },
}
SCSS
$custom: #7d97fb;
$custom-light: #a9b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d97fb",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 227.619,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70064,
    "c": 0.14947,
    "h": 271.1
  },
  "luminance": 0.33458
}

Semantic roles & 50–950 ramp

primary
#7D97FB
secondary
#F6EFD5
accent
#B600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7D97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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