#997DC8#997DC8

#997DC8 is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.5% C 0.113 H 300.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#997DC8
RGBrgb(153, 125, 200)
HSLhsl(262, 41%, 64%)
HSVhsv(262, 38%, 78%)
CMYKcmyk(23.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(57.66, 26.26, -35.07)
CIE-LCHlch(57.66, 43.81, 306.82°)
OKLaboklab(64.55% 0.0573 -0.0974)
OKLCHoklch(64.55% 0.113 300.5)
XYZxyz(30.8935, 25.6096, 57.9480)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DC8 #ACC87D
analogous
#7D86C8 #997DC8 #BE7DC8
triadic
#997DC8 #C8997D #7DC899
tetradic
#997DC8 #C87D86 #ACC87D #7DC8BE
square
#997DC8 #C87D86 #ACC87D #7DC8BE
split-complementary
#997DC8 #C8BE7D #86C87D
monochromatic
#5B3C8E #7752B6 #997DC8 #BBA8DA #DCD3EC

Accessibility & contrast

On white

3.43
#997DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#997DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DC8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DC8#FFFFFF#000000##000000
##997DC81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACB
Deuteranopia (green-blind)
#708AC6
Tritanopia (blue-blind)
#908999
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997dc8;
/* rgb */ color: rgb(153, 125, 200);
/* oklch */ color: oklch(64.5% 0.113 300.5);
Tailwind
colors: {
  custom: {
    50: '#b8a3d9',
    500: '#997dc8',
    950: '#000000',
  },
}
SCSS
$custom: #997dc8;
$custom-light: #b8a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#997dc8",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 262.4,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.11303,
    "h": 300.5
  },
  "luminance": 0.2561
}

Semantic roles & 50–950 ramp

primary
#997DC8
secondary
#D4DEC3
accent
#B43283
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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