#997CD9#997CD9

#997CD9 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.2% C 0.137 H 296.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#997CD9
RGBrgb(153, 124, 217)
HSLhsl(259, 55%, 67%)
HSVhsv(259, 43%, 85%)
CMYKcmyk(29.5%, 42.9%, 0%, 14.9%)
CIE-LABlab(58.22, 31.02, -43.78)
CIE-LCHlch(58.22, 53.65, 305.31°)
OKLaboklab(65.23% 0.0619 -0.1227)
OKLCHoklch(65.23% 0.137 296.8)
XYZxyz(32.8659, 26.1970, 68.9572)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CD9 #BCD97C
analogous
#7C8ED9 #997CD9 #C87CD9
triadic
#997CD9 #D9997C #7CD999
tetradic
#997CD9 #D97C8E #BCD97C #7CD9C8
square
#997CD9 #D97C8E #BCD97C #7CD9C8
split-complementary
#997CD9 #D9C87C #8ED97C
monochromatic
#5731A9 #744DCB #997CD9 #BEABE7 #E3DBF5

Accessibility & contrast

On white

3.37
#997CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#997CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CD9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CD9#FFFFFF#000000##000000
##997CD91.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDC
Deuteranopia (green-blind)
#668BD7
Tritanopia (blue-blind)
#8C8DA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997cd9;
/* rgb */ color: rgb(153, 124, 217);
/* oklch */ color: oklch(65.2% 0.137 296.8);
Tailwind
colors: {
  custom: {
    50: '#b9a2e5',
    500: '#997cd9',
    950: '#000000',
  },
}
SCSS
$custom: #997cd9;
$custom-light: #b9a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#997cd9",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 258.71,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65231,
    "c": 0.13742,
    "h": 296.8
  },
  "luminance": 0.26197
}

Semantic roles & 50–950 ramp

primary
#997CD9
secondary
#DEE7CA
accent
#C32391
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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