#997CD8#997CD8

#997CD8 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.2% C 0.136 H 297.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#997CD8
RGBrgb(153, 124, 216)
HSLhsl(259, 54%, 67%)
HSVhsv(259, 43%, 85%)
CMYKcmyk(29.2%, 42.6%, 0%, 15.3%)
CIE-LABlab(58.17, 30.77, -43.30)
CIE-LCHlch(58.17, 53.11, 305.40°)
OKLaboklab(65.18% 0.0618 -0.1213)
OKLCHoklch(65.18% 0.136 297)
XYZxyz(32.7362, 26.1451, 68.2743)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CD8 #BBD87C
analogous
#7C8DD8 #997CD8 #C77CD8
triadic
#997CD8 #D8997C #7CD899
tetradic
#997CD8 #D87C8D #BBD87C #7CD8C7
square
#997CD8 #D87C8D #BBD87C #7CD8C7
split-complementary
#997CD8 #D8C77C #8DD87C
monochromatic
#5732A8 #744DCA #997CD8 #BEABE6 #E2DAF4

Accessibility & contrast

On white

3.37
#997CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#997CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CD8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CD8#FFFFFF#000000##000000
##997CD81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDB
Deuteranopia (green-blind)
#668BD6
Tritanopia (blue-blind)
#8C8CA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997cd8;
/* rgb */ color: rgb(153, 124, 216);
/* oklch */ color: oklch(65.2% 0.136 297.0);
Tailwind
colors: {
  custom: {
    50: '#b9a2e4',
    500: '#997cd8',
    950: '#000000',
  },
}
SCSS
$custom: #997cd8;
$custom-light: #b9a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#997cd8",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 258.913,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65178,
    "c": 0.13608,
    "h": 297
  },
  "luminance": 0.26145
}

Semantic roles & 50–950 ramp

primary
#997CD8
secondary
#DDE7C9
accent
#C22490
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F15
muted
#817F84

Preview Lab

Preview with #997CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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