#997BD2#997BD2

#997BD2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.7% C 0.130 H 298.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#997BD2
RGBrgb(153, 123, 210)
HSLhsl(261, 49%, 65%)
HSVhsv(261, 41%, 82%)
CMYKcmyk(27.1%, 41.4%, 0%, 17.6%)
CIE-LABlab(57.65, 29.85, -40.75)
CIE-LCHlch(57.65, 50.51, 306.22°)
OKLaboklab(64.68% 0.0621 -0.1139)
OKLCHoklch(64.68% 0.13 298.6)
XYZxyz(31.8500, 25.5911, 64.2219)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BD2 #B4D27B
analogous
#7B88D2 #997BD2 #C57BD2
triadic
#997BD2 #D2997B #7BD299
tetradic
#997BD2 #D27B88 #B4D27B #7BD2C5
square
#997BD2 #D27B88 #B4D27B #7BD2C5
split-complementary
#997BD2 #D2C57B #88D27B
monochromatic
#59369D #764DC2 #997BD2 #BCA9E2 #E0D6F1

Accessibility & contrast

On white

3.43
#997BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#997BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BD2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BD2#FFFFFF#000000##000000
##997BD21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638AD5
Deuteranopia (green-blind)
#698AD0
Tritanopia (blue-blind)
#8E8A9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997bd2;
/* rgb */ color: rgb(153, 123, 210);
/* oklch */ color: oklch(64.7% 0.130 298.6);
Tailwind
colors: {
  custom: {
    50: '#b9a1e0',
    500: '#997bd2',
    950: '#000000',
  },
}
SCSS
$custom: #997bd2;
$custom-light: #b9a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#997bd2",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 260.69,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64684,
    "c": 0.1297,
    "h": 298.6
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#997BD2
secondary
#D9E3C6
accent
#BC298A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #997BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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