#997CD5#997CD5

#997CD5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.0% C 0.132 H 297.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#997CD5
RGBrgb(153, 124, 213)
HSLhsl(260, 51%, 66%)
HSVhsv(260, 42%, 84%)
CMYKcmyk(28.2%, 41.8%, 0%, 16.5%)
CIE-LABlab(58.03, 30.02, -41.84)
CIE-LCHlch(58.03, 51.49, 305.66°)
OKLaboklab(65.02% 0.0613 -0.117)
OKLCHoklch(65.02% 0.132 297.6)
XYZxyz(32.3519, 25.9914, 66.2503)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CD5 #B8D57C
analogous
#7C8BD5 #997CD5 #C57CD5
triadic
#997CD5 #D5997C #7CD599
tetradic
#997CD5 #D57C8B #B8D57C #7CD5C5
square
#997CD5 #D57C8B #B8D57C #7CD5C5
split-complementary
#997CD5 #D5C57C #8BD57C
monochromatic
#5834A2 #754EC6 #997CD5 #BDAAE4 #E1D9F3

Accessibility & contrast

On white

3.39
#997CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#997CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CD5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CD5#FFFFFF#000000##000000
##997CD51.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CD8
Deuteranopia (green-blind)
#688BD3
Tritanopia (blue-blind)
#8D8C9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997cd5;
/* rgb */ color: rgb(153, 124, 213);
/* oklch */ color: oklch(65.0% 0.132 297.6);
Tailwind
colors: {
  custom: {
    50: '#b9a2e2',
    500: '#997cd5',
    950: '#000000',
  },
}
SCSS
$custom: #997cd5;
$custom-light: #b9a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#997cd5",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 259.551,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6502,
    "c": 0.13209,
    "h": 297.6
  },
  "luminance": 0.25992
}

Semantic roles & 50–950 ramp

primary
#997CD5
secondary
#DBE5C8
accent
#BF278D
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #997CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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