#997BD7#997BD7

#997BD7 is a light, vivid violet. Relative luminance 0.258; OKLCH L 64.9% C 0.136 H 297.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#997BD7
RGBrgb(153, 123, 215)
HSLhsl(260, 53%, 66%)
HSVhsv(260, 43%, 84%)
CMYKcmyk(28.8%, 42.8%, 0%, 15.7%)
CIE-LABlab(57.89, 31.09, -43.18)
CIE-LCHlch(57.89, 53.21, 305.75°)
OKLaboklab(64.95% 0.063 -0.1209)
OKLCHoklch(64.95% 0.136 297.5)
XYZxyz(32.4826, 25.8442, 67.5539)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BD7 #B9D77B
analogous
#7B8BD7 #997BD7 #C77BD7
triadic
#997BD7 #D7997B #7BD799
tetradic
#997BD7 #D77B8B #B9D77B #7BD7C7
square
#997BD7 #D77B8B #B9D77B #7BD7C7
split-complementary
#997BD7 #D7C77B #8BD77B
monochromatic
#5832A5 #754CC9 #997BD7 #BDAAE5 #E2D9F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997BD7#FFFFFF#000000##000000
##997BD71.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)
#608BDA
Deuteranopia (green-blind)
#668AD5
Tritanopia (blue-blind)
#8C8B9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997bd7;
/* rgb */ color: rgb(153, 123, 215);
/* oklch */ color: oklch(64.9% 0.136 297.5);
Tailwind
colors: {
  custom: {
    50: '#b9a1e4',
    500: '#997bd7',
    950: '#000000',
  },
}
SCSS
$custom: #997bd7;
$custom-light: #b9a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#997bd7",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 259.565,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.13634,
    "h": 297.5
  },
  "luminance": 0.25845
}

Semantic roles & 50–950 ramp

primary
#997BD7
secondary
#DCE6C8
accent
#C1258E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120F15
muted
#817E84

Preview Lab

Preview with #997BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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