#997CD2#997CD2

#997CD2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 64.9% C 0.128 H 298.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#997CD2
RGBrgb(153, 124, 210)
HSLhsl(260, 49%, 65%)
HSVhsv(260, 41%, 82%)
CMYKcmyk(27.1%, 41%, 0%, 17.6%)
CIE-LABlab(57.89, 29.27, -40.38)
CIE-LCHlch(57.89, 49.87, 305.94°)
OKLaboklab(64.86% 0.0607 -0.1128)
OKLCHoklch(64.86% 0.128 298.3)
XYZxyz(31.9747, 25.8405, 64.2634)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CD2 #B5D27C
analogous
#7C8AD2 #997CD2 #C47CD2
triadic
#997CD2 #D2997C #7CD299
tetradic
#997CD2 #D27C8A #B5D27C #7CD2C4
square
#997CD2 #D27C8A #B5D27C #7CD2C4
split-complementary
#997CD2 #D2C47C #8AD27C
monochromatic
#59369D #764EC2 #997CD2 #BCAAE2 #E0D7F1

Accessibility & contrast

On white

3.40
#997CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#997CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CD2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CD2#FFFFFF#000000##000000
##997CD21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD5
Deuteranopia (green-blind)
#6A8AD0
Tritanopia (blue-blind)
#8E8B9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997cd2;
/* rgb */ color: rgb(153, 124, 210);
/* oklch */ color: oklch(64.9% 0.128 298.3);
Tailwind
colors: {
  custom: {
    50: '#b9a2e0',
    500: '#997cd2',
    950: '#000000',
  },
}
SCSS
$custom: #997cd2;
$custom-light: #b9a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#997cd2",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 260.233,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64865,
    "c": 0.12809,
    "h": 298.3
  },
  "luminance": 0.25841
}

Semantic roles & 50–950 ramp

primary
#997CD2
secondary
#DAE3C6
accent
#BC298B
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #997CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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