#997AC9#997AC9

#997AC9 is a light, moderate violet. Relative luminance 0.249; OKLCH L 64.0% C 0.119 H 301.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#997AC9
RGBrgb(153, 122, 201)
HSLhsl(264, 42%, 63%)
HSVhsv(264, 39%, 79%)
CMYKcmyk(23.9%, 39.3%, 0%, 21.2%)
CIE-LABlab(56.99, 28.23, -36.70)
CIE-LCHlch(56.99, 46.30, 307.57°)
OKLaboklab(64.05% 0.0618 -0.1021)
OKLCHoklch(64.05% 0.119 301.2)
XYZxyz(30.6367, 24.9083, 58.4408)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AC9 #AAC97A
analogous
#7A82C9 #997AC9 #C07AC9
triadic
#997AC9 #C9997A #7AC999
tetradic
#997AC9 #C97A82 #AAC97A #7AC9C0
square
#997AC9 #C97A82 #AAC97A #7AC9C0
split-complementary
#997AC9 #C9C07A #82C97A
monochromatic
#5B3A8F #784EB7 #997AC9 #BAA6DB #DCD1EC

Accessibility & contrast

On white

3.51
#997AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#997AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AC9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AC9#FFFFFF#000000##000000
##997AC91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CC
Deuteranopia (green-blind)
#6C88C7
Tritanopia (blue-blind)
#908798
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997ac9;
/* rgb */ color: rgb(153, 122, 201);
/* oklch */ color: oklch(64.0% 0.119 301.2);
Tailwind
colors: {
  custom: {
    50: '#b8a1d9',
    500: '#997ac9',
    950: '#000000',
  },
}
SCSS
$custom: #997ac9;
$custom-light: #b8a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#997ac9",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 201
  },
  "hsl": {
    "h": 263.544,
    "s": 42.246,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64046,
    "c": 0.11937,
    "h": 301.2
  },
  "luminance": 0.24908
}

Semantic roles & 50–950 ramp

primary
#997AC9
secondary
#D2DDC1
accent
#B53081
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F15
muted
#807E83

Preview Lab

Preview with #997AC9

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

Preview Lab → · Contrast checker → · Palette generator →

#997AC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva