#997DCA#997DCA

#997DCA is a light, moderate violet. Relative luminance 0.257; OKLCH L 64.6% C 0.116 H 299.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#997DCA
RGBrgb(153, 125, 202)
HSLhsl(262, 42%, 64%)
HSVhsv(262, 38%, 79%)
CMYKcmyk(24.3%, 38.1%, 0%, 20.8%)
CIE-LABlab(57.75, 26.74, -36.06)
CIE-LCHlch(57.75, 44.89, 306.56°)
OKLaboklab(64.64% 0.0577 -0.1003)
OKLCHoklch(64.64% 0.116 299.9)
XYZxyz(31.1288, 25.7037, 59.1870)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DCA #AECA7D
analogous
#7D88CA #997DCA #C07DCA
triadic
#997DCA #CA997D #7DCA99
tetradic
#997DCA #CA7D88 #AECA7D #7DCAC0
square
#997DCA #CA7D88 #AECA7D #7DCAC0
split-complementary
#997DCA #CAC07D #88CA7D
monochromatic
#5B3B91 #7752B8 #997DCA #BBA8DC #DDD4ED

Accessibility & contrast

On white

3.42
#997DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#997DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DCA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DCA#FFFFFF#000000##000000
##997DCA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#908A9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997dca;
/* rgb */ color: rgb(153, 125, 202);
/* oklch */ color: oklch(64.6% 0.116 299.9);
Tailwind
colors: {
  custom: {
    50: '#b8a3da',
    500: '#997dca',
    950: '#000000',
  },
}
SCSS
$custom: #997dca;
$custom-light: #b8a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#997dca",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 261.818,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64644,
    "c": 0.11572,
    "h": 299.9
  },
  "luminance": 0.25704
}

Semantic roles & 50–950 ramp

primary
#997DCA
secondary
#D5DFC4
accent
#B53085
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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