#9F97C8#9F97C8

#9F97C8 is a light, moderate blue. Relative luminance 0.337; OKLCH L 70.1% C 0.071 H 291.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9F97C8
RGBrgb(159, 151, 200)
HSLhsl(250, 31%, 69%)
HSVhsv(250, 25%, 78%)
CMYKcmyk(20.5%, 24.5%, 0%, 21.6%)
CIE-LABlab(64.70, 13.19, -24.14)
CIE-LCHlch(64.70, 27.51, 298.66°)
OKLaboklab(70.07% 0.0267 -0.0662)
OKLCHoklch(70.07% 0.071 291.9)
XYZxyz(35.7876, 33.6739, 59.2466)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F97C8 #C0C897
analogous
#97A8C8 #9F97C8 #B897C8
triadic
#9F97C8 #C89F97 #97C89F
tetradic
#9F97C8 #C897A8 #C0C897 #97C8B8
square
#9F97C8 #C897A8 #C0C897 #97C8B8
split-complementary
#9F97C8 #C8B897 #A8C897
monochromatic
#5B4F96 #7A6FB3 #9F97C8 #C4BFDD #E9E7F2

Accessibility & contrast

On white

2.72
#9F97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9F97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F97C8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F97C8#FFFFFF#000000##000000
##9F97C81.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ECA
Deuteranopia (green-blind)
#8C9CC7
Tritanopia (blue-blind)
#979FA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9f97c8;
/* rgb */ color: rgb(159, 151, 200);
/* oklch */ color: oklch(70.1% 0.071 291.9);
Tailwind
colors: {
  custom: {
    50: '#bcb5d8',
    500: '#9f97c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f97c8;
$custom-light: #bcb5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f97c8",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 249.796,
    "s": 30.818,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70072,
    "c": 0.0714,
    "h": 291.9
  },
  "luminance": 0.33674
}

Semantic roles & 50–950 ramp

primary
#9F97C8
secondary
#E2E5D6
accent
#AA3C98
background
#FBFBFD
surface
#F6F6FA
border
#D0D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #9F97C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9F97C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva