#997DCD#997DCD

#997DCD is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.8% C 0.120 H 299.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#997DCD
RGBrgb(153, 125, 205)
HSLhsl(261, 44%, 65%)
HSVhsv(261, 39%, 80%)
CMYKcmyk(25.4%, 39%, 0%, 19.6%)
CIE-LABlab(57.89, 27.47, -37.54)
CIE-LCHlch(57.89, 46.52, 306.19°)
OKLaboklab(64.79% 0.0584 -0.1046)
OKLCHoklch(64.79% 0.12 299.2)
XYZxyz(31.4874, 25.8471, 61.0759)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DCD #B1CD7D
analogous
#7D89CD #997DCD #C17DCD
triadic
#997DCD #CD997D #7DCD99
tetradic
#997DCD #CD7D89 #B1CD7D #7DCDC1
square
#997DCD #CD7D89 #B1CD7D #7DCDC1
split-complementary
#997DCD #CDC17D #89CD7D
monochromatic
#5A3A96 #7651BC #997DCD #BCA9DE #DED5EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997DCD#FFFFFF#000000##000000
##997DCD1.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)
#688BD0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#8F8A9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997dcd;
/* rgb */ color: rgb(153, 125, 205);
/* oklch */ color: oklch(64.8% 0.120 299.2);
Tailwind
colors: {
  custom: {
    50: '#b8a3dc',
    500: '#997dcd',
    950: '#000000',
  },
}
SCSS
$custom: #997dcd;
$custom-light: #b8a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#997dcd",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 261,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64793,
    "c": 0.11976,
    "h": 299.2
  },
  "luminance": 0.25847
}

Semantic roles & 50–950 ramp

primary
#997DCD
secondary
#D7E1C5
accent
#B82E87
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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