#997DCB#997DCB

#997DCB is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.7% C 0.117 H 299.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#997DCB
RGBrgb(153, 125, 203)
HSLhsl(262, 43%, 64%)
HSVhsv(262, 38%, 80%)
CMYKcmyk(24.6%, 38.4%, 0%, 20.4%)
CIE-LABlab(57.80, 26.98, -36.56)
CIE-LCHlch(57.80, 45.44, 306.43°)
OKLaboklab(64.69% 0.0579 -0.1017)
OKLCHoklch(64.69% 0.117 299.7)
XYZxyz(31.2476, 25.7512, 59.8126)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DCB #AFCB7D
analogous
#7D88CB #997DCB #C07DCB
triadic
#997DCB #CB997D #7DCB99
tetradic
#997DCB #CB7D88 #AFCB7D #7DCBC0
square
#997DCB #CB7D88 #AFCB7D #7DCBC0
split-complementary
#997DCB #CBC07D #88CB7D
monochromatic
#5A3B93 #7751BA #997DCB #BBA9DC #DED4EE

Accessibility & contrast

On white

3.41
#997DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#997DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DCB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DCB#FFFFFF#000000##000000
##997DCB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#908A9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997dcb;
/* rgb */ color: rgb(153, 125, 203);
/* oklch */ color: oklch(64.7% 0.117 299.7);
Tailwind
colors: {
  custom: {
    50: '#b8a3db',
    500: '#997dcb',
    950: '#000000',
  },
}
SCSS
$custom: #997dcb;
$custom-light: #b8a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#997dcb",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 261.538,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64693,
    "c": 0.11707,
    "h": 299.7
  },
  "luminance": 0.25751
}

Semantic roles & 50–950 ramp

primary
#997DCB
secondary
#D6DFC4
accent
#B63086
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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