#997DD2#997DD2

#997DD2 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.0% C 0.126 H 298.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#997DD2
RGBrgb(153, 125, 210)
HSLhsl(260, 49%, 66%)
HSVhsv(260, 40%, 82%)
CMYKcmyk(27.1%, 40.5%, 0%, 17.6%)
CIE-LABlab(58.12, 28.70, -40.00)
CIE-LCHlch(58.12, 49.23, 305.66°)
OKLaboklab(65.05% 0.0593 -0.1117)
OKLCHoklch(65.05% 0.126 298)
XYZxyz(32.1006, 26.0924, 64.3054)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DD2 #B6D27D
analogous
#7D8BD2 #997DD2 #C37DD2
triadic
#997DD2 #D2997D #7DD299
tetradic
#997DD2 #D27D8B #B6D27D #7DD2C3
square
#997DD2 #D27D8B #B6D27D #7DD2C3
split-complementary
#997DD2 #D2C37D #8BD27D
monochromatic
#59379E #7550C2 #997DD2 #BDAAE2 #E0D8F1

Accessibility & contrast

On white

3.38
#997DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#997DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DD2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DD2#FFFFFF#000000##000000
##997DD21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#668CD5
Deuteranopia (green-blind)
#6B8BD0
Tritanopia (blue-blind)
#8E8C9D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997dd2;
/* rgb */ color: rgb(153, 125, 210);
/* oklch */ color: oklch(65.0% 0.126 298.0);
Tailwind
colors: {
  custom: {
    50: '#b9a3e0',
    500: '#997dd2',
    950: '#000000',
  },
}
SCSS
$custom: #997dd2;
$custom-light: #b9a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#997dd2",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 259.765,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65046,
    "c": 0.12647,
    "h": 298
  },
  "luminance": 0.26093
}

Semantic roles & 50–950 ramp

primary
#997DD2
secondary
#DAE4C7
accent
#BC2A8C
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #997DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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