#997CC2#997CC2

#997CC2 is a light, moderate violet. Relative luminance 0.251; OKLCH L 64.1% C 0.107 H 302.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#997CC2
RGBrgb(153, 124, 194)
HSLhsl(265, 36%, 62%)
HSVhsv(265, 36%, 76%)
CMYKcmyk(21.1%, 36.1%, 0%, 23.9%)
CIE-LABlab(57.16, 25.41, -32.46)
CIE-LCHlch(57.16, 41.22, 308.05°)
OKLaboklab(64.07% 0.0574 -0.0899)
OKLCHoklch(64.07% 0.107 302.5)
XYZxyz(30.0801, 25.0827, 54.2852)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CC2 #A5C27C
analogous
#7C82C2 #997CC2 #BC7CC2
triadic
#997CC2 #C2997C #7CC299
tetradic
#997CC2 #C27C82 #A5C27C #7CC2BC
square
#997CC2 #C27C82 #A5C27C #7CC2BC
split-complementary
#997CC2 #C2BC7C #82C27C
monochromatic
#5C3E85 #7852AF #997CC2 #BAA6D5 #DAD0E9

Accessibility & contrast

On white

3.49
#997CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#997CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CC2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CC2#FFFFFF#000000##000000
##997CC21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C5
Deuteranopia (green-blind)
#7289C0
Tritanopia (blue-blind)
#928796
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997cc2;
/* rgb */ color: rgb(153, 124, 194);
/* oklch */ color: oklch(64.1% 0.107 302.5);
Tailwind
colors: {
  custom: {
    50: '#b8a2d4',
    500: '#997cc2',
    950: '#000000',
  },
}
SCSS
$custom: #997cc2;
$custom-light: #b8a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#997cc2",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 264.857,
    "s": 36.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.10667,
    "h": 302.5
  },
  "luminance": 0.25083
}

Semantic roles & 50–950 ramp

primary
#997CC2
secondary
#CFDAC0
accent
#AF367D
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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