#97A5F7#97A5F7

#97A5F7 is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.3% C 0.119 H 275.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#97A5F7
RGBrgb(151, 165, 247)
HSLhsl(231, 86%, 78%)
HSVhsv(231, 39%, 97%)
CMYKcmyk(38.9%, 33.2%, 0%, 3.1%)
CIE-LABlab(69.61, 14.81, -42.47)
CIE-LCHlch(69.61, 44.98, 289.23°)
OKLaboklab(74.35% 0.0119 -0.1189)
OKLCHoklch(74.35% 0.119 275.7)
XYZxyz(43.0012, 40.2031, 93.4719)
Luminance0.4021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A5F7 #F7E997
analogous
#97D5F7 #97A5F7 #B997F7
triadic
#97A5F7 #F797A5 #A5F797
tetradic
#97A5F7 #F797D5 #F7E997 #97F7B9
square
#97A5F7 #F797D5 #F7E997 #97F7B9
split-complementary
#97A5F7 #F7B997 #D5F797
monochromatic
#2543EE #5E74F3 #97A5F7 #D0D6FB #E3E6FD

Accessibility & contrast

On white

2.32
#97A5F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#97A5F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A5F7
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A5F7#FFFFFF#000000##000000
##97A5F71.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAEFA
Deuteranopia (green-blind)
#83A6F5
Tritanopia (blue-blind)
#7AB5C3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #97a5f7;
/* rgb */ color: rgb(151, 165, 247);
/* oklch */ color: oklch(74.3% 0.119 275.7);
Tailwind
colors: {
  custom: {
    50: '#b9bffa',
    500: '#97a5f7',
    950: '#000000',
  },
}
SCSS
$custom: #97a5f7;
$custom-light: #b9bffa;
$custom-dark: #000000;
JSON
{
  "hex": "#97a5f7",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 247
  },
  "hsl": {
    "h": 231.25,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74349,
    "c": 0.11948,
    "h": 275.7
  },
  "luminance": 0.40205
}

Semantic roles & 50–950 ramp

primary
#97A5F7
secondary
#F5F0D6
accent
#C203E2
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #97A5F7

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

Preview Lab → · Contrast checker → · Palette generator →

#97A5F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva