#9A97C8#9A97C8

#9A97C8 is a light, moderate blue. Relative luminance 0.332; OKLCH L 69.7% C 0.071 H 287.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9A97C8
RGBrgb(154, 151, 200)
HSLhsl(244, 31%, 69%)
HSVhsv(244, 25%, 78%)
CMYKcmyk(23%, 24.5%, 0%, 21.6%)
CIE-LABlab(64.30, 11.63, -24.79)
CIE-LCHlch(64.30, 27.38, 295.13°)
OKLaboklab(69.66% 0.0211 -0.0681)
OKLCHoklch(69.66% 0.071 287.2)
XYZxyz(34.8158, 33.1728, 59.2011)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A97C8 #C5C897
analogous
#97ADC8 #9A97C8 #B397C8
triadic
#9A97C8 #C89A97 #97C89A
tetradic
#9A97C8 #C897AD #C5C897 #97C8B3
square
#9A97C8 #C897AD #C5C897 #97C8B3
split-complementary
#9A97C8 #C8B397 #ADC897
monochromatic
#534F96 #736FB3 #9A97C8 #C1BFDD #E8E7F2

Accessibility & contrast

On white

2.75
#9A97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9A97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A97C8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A97C8#FFFFFF#000000##000000
##9A97C81.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9DCA
Deuteranopia (green-blind)
#8A9BC7
Tritanopia (blue-blind)
#909FA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9a97c8;
/* rgb */ color: rgb(154, 151, 200);
/* oklch */ color: oklch(69.7% 0.071 287.2);
Tailwind
colors: {
  custom: {
    50: '#b8b5d8',
    500: '#9a97c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a97c8;
$custom-light: #b8b5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a97c8",
  "rgb": {
    "r": 154,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 243.673,
    "s": 30.818,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69662,
    "c": 0.07134,
    "h": 287.2
  },
  "luminance": 0.33173
}

Semantic roles & 50–950 ramp

primary
#9A97C8
secondary
#E4E5D6
accent
#AA3CA3
background
#FBFBFD
surface
#F6F6FA
border
#D0D0D3
text
#111114
muted
#808083

Preview Lab

Preview with #9A97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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