#997DC6#997DC6

#997DC6 is a light, moderate violet. Relative luminance 0.255; OKLCH L 64.4% C 0.110 H 301.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#997DC6
RGBrgb(153, 125, 198)
HSLhsl(263, 39%, 63%)
HSVhsv(263, 37%, 78%)
CMYKcmyk(22.7%, 36.9%, 0%, 22.4%)
CIE-LABlab(57.58, 25.78, -34.08)
CIE-LCHlch(57.58, 42.73, 307.11°)
OKLaboklab(64.45% 0.0569 -0.0946)
OKLCHoklch(64.45% 0.11 301)
XYZxyz(30.6613, 25.5167, 56.7250)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DC6 #AAC67D
analogous
#7D85C6 #997DC6 #BD7DC6
triadic
#997DC6 #C6997D #7DC699
tetradic
#997DC6 #C67D85 #AAC67D #7DC6BD
square
#997DC6 #C67D85 #AAC67D #7DC6BD
split-complementary
#997DC6 #C6BD7D #85C67D
monochromatic
#5B3D8B #7852B3 #997DC6 #BAA8D9 #DCD2EB

Accessibility & contrast

On white

3.44
#997DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#997DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DC6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DC6#FFFFFF#000000##000000
##997DC61.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8AC9
Deuteranopia (green-blind)
#718AC4
Tritanopia (blue-blind)
#918998
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997dc6;
/* rgb */ color: rgb(153, 125, 198);
/* oklch */ color: oklch(64.4% 0.110 301.0);
Tailwind
colors: {
  custom: {
    50: '#b8a3d7',
    500: '#997dc6',
    950: '#000000',
  },
}
SCSS
$custom: #997dc6;
$custom-light: #b8a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#997dc6",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 263.014,
    "s": 39.037,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64449,
    "c": 0.11035,
    "h": 301
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#997DC6
secondary
#D2DCC2
accent
#B23381
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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