#997BB5#997BB5

#997BB5 is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.3% C 0.091 H 307.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#997BB5
RGBrgb(153, 123, 181)
HSLhsl(271, 28%, 60%)
HSVhsv(271, 32%, 71%)
CMYKcmyk(15.5%, 32%, 0%, 29%)
CIE-LABlab(56.36, 22.99, -26.27)
CIE-LCHlch(56.36, 34.91, 311.19°)
OKLaboklab(63.29% 0.0556 -0.0722)
OKLCHoklch(63.29% 0.091 307.6)
XYZxyz(28.5588, 24.2746, 46.8881)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BB5 #97B57B
analogous
#7C7BB5 #997BB5 #B57BB4
triadic
#997BB5 #B5997B #7BB599
tetradic
#997BB5 #B57C7B #97B57B #7BB4B5
square
#997BB5 #B57C7B #97B57B #7BB4B5
split-complementary
#997BB5 #B4B57B #7BB57C
monochromatic
#5C4174 #7B579C #997BB5 #B7A2CB #D6C9E1

Accessibility & contrast

On white

3.59
#997BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#997BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BB5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BB5#FFFFFF#000000##000000
##997BB51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B7
Deuteranopia (green-blind)
#7688B3
Tritanopia (blue-blind)
#958390
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997bb5;
/* rgb */ color: rgb(153, 123, 181);
/* oklch */ color: oklch(63.3% 0.091 307.6);
Tailwind
colors: {
  custom: {
    50: '#b8a1cb',
    500: '#997bb5',
    950: '#000000',
  },
}
SCSS
$custom: #997bb5;
$custom-light: #b8a1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#997bb5",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 271.034,
    "s": 28.155,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.09116,
    "h": 307.6
  },
  "luminance": 0.24274
}

Semantic roles & 50–950 ramp

primary
#997BB5
secondary
#C6D1BB
accent
#C46392
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #997BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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