#997DB2#997DB2

#997DB2 is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.5% C 0.084 H 308.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#997DB2
RGBrgb(153, 125, 178)
HSLhsl(272, 26%, 59%)
HSVhsv(272, 30%, 70%)
CMYKcmyk(14%, 29.8%, 0%, 30.2%)
CIE-LABlab(56.74, 21.16, -23.97)
CIE-LCHlch(56.74, 31.97, 311.43°)
OKLaboklab(63.53% 0.0518 -0.0657)
OKLCHoklch(63.53% 0.084 308.2)
XYZxyz(28.5049, 24.6541, 45.3679)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DB2 #96B27D
analogous
#7F7DB2 #997DB2 #B27DB1
triadic
#997DB2 #B2997D #7DB299
tetradic
#997DB2 #B27F7D #96B27D #7DB1B2
square
#997DB2 #B27F7D #96B27D #7DB1B2
split-complementary
#997DB2 #B1B27D #7DB27F
monochromatic
#5C4371 #7B5A98 #997DB2 #B7A3C9 #D5CAE0

Accessibility & contrast

On white

3.54
#997DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#997DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DB2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DB2#FFFFFF#000000##000000
##997DB21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#7989B0
Tritanopia (blue-blind)
#968490
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #997db2;
/* rgb */ color: rgb(153, 125, 178);
/* oklch */ color: oklch(63.5% 0.084 308.2);
Tailwind
colors: {
  custom: {
    50: '#b7a3c9',
    500: '#997db2',
    950: '#000000',
  },
}
SCSS
$custom: #997db2;
$custom-light: #b7a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#997db2",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 271.698,
    "s": 25.604,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63533,
    "c": 0.08365,
    "h": 308.2
  },
  "luminance": 0.24654
}

Semantic roles & 50–950 ramp

primary
#997DB2
secondary
#C5D0BB
accent
#C26691
background
#FBFAFC
surface
#F6F3F8
border
#D0CDD1
text
#110F13
muted
#807F82

Preview Lab

Preview with #997DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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