#997CD4#997CD4

#997CD4 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.0% C 0.131 H 297.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#997CD4
RGBrgb(153, 124, 212)
HSLhsl(260, 51%, 66%)
HSVhsv(260, 42%, 83%)
CMYKcmyk(27.8%, 41.5%, 0%, 16.9%)
CIE-LABlab(57.98, 29.77, -41.35)
CIE-LCHlch(57.98, 50.95, 305.75°)
OKLaboklab(64.97% 0.0611 -0.1156)
OKLCHoklch(64.97% 0.131 297.8)
XYZxyz(32.2254, 25.9408, 65.5839)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CD4 #B7D47C
analogous
#7C8BD4 #997CD4 #C57CD4
triadic
#997CD4 #D4997C #7CD499
tetradic
#997CD4 #D47C8B #B7D47C #7CD4C5
square
#997CD4 #D47C8B #B7D47C #7CD4C5
split-complementary
#997CD4 #D4C57C #8BD47C
monochromatic
#5835A1 #754EC5 #997CD4 #BDAAE3 #E1D8F2

Accessibility & contrast

On white

3.39
#997CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#997CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CD4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CD4#FFFFFF#000000##000000
##997CD41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CD7
Deuteranopia (green-blind)
#698AD2
Tritanopia (blue-blind)
#8D8B9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997cd4;
/* rgb */ color: rgb(153, 124, 212);
/* oklch */ color: oklch(65.0% 0.131 297.8);
Tailwind
colors: {
  custom: {
    50: '#b9a2e1',
    500: '#997cd4',
    950: '#000000',
  },
}
SCSS
$custom: #997cd4;
$custom-light: #b9a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#997cd4",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 259.773,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.13075,
    "h": 297.8
  },
  "luminance": 0.25941
}

Semantic roles & 50–950 ramp

primary
#997CD4
secondary
#DBE4C7
accent
#BE288C
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #997CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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