#997DC2#997DC2

#997DC2 is a light, moderate violet. Relative luminance 0.253; OKLCH L 64.3% C 0.105 H 302.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#997DC2
RGBrgb(153, 125, 194)
HSLhsl(264, 36%, 63%)
HSVhsv(264, 36%, 76%)
CMYKcmyk(21.1%, 35.6%, 0%, 23.9%)
CIE-LABlab(57.40, 24.83, -32.08)
CIE-LCHlch(57.40, 40.56, 307.74°)
OKLaboklab(64.26% 0.0559 -0.0888)
OKLCHoklch(64.26% 0.105 302.2)
XYZxyz(30.2060, 25.3346, 54.3272)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DC2 #A6C27D
analogous
#7D83C2 #997DC2 #BC7DC2
triadic
#997DC2 #C2997D #7DC299
tetradic
#997DC2 #C27D83 #A6C27D #7DC2BC
square
#997DC2 #C27D83 #A6C27D #7DC2BC
split-complementary
#997DC2 #C2BC7D #83C27D
monochromatic
#5C3F86 #7853AE #997DC2 #BAA7D6 #DAD0E9

Accessibility & contrast

On white

3.46
#997DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#997DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DC2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DC2#FFFFFF#000000##000000
##997DC21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#738AC0
Tritanopia (blue-blind)
#928897
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997dc2;
/* rgb */ color: rgb(153, 125, 194);
/* oklch */ color: oklch(64.3% 0.105 302.2);
Tailwind
colors: {
  custom: {
    50: '#b8a3d4',
    500: '#997dc2',
    950: '#000000',
  },
}
SCSS
$custom: #997dc2;
$custom-light: #b8a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#997dc2",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 264.348,
    "s": 36.126,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.10497,
    "h": 302.2
  },
  "luminance": 0.25335
}

Semantic roles & 50–950 ramp

primary
#997DC2
secondary
#D0DAC1
accent
#AF367E
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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