#997BD5#997BD5

#997BD5 is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.8% C 0.134 H 297.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#997BD5
RGBrgb(153, 123, 213)
HSLhsl(260, 52%, 66%)
HSVhsv(260, 42%, 84%)
CMYKcmyk(28.2%, 42.3%, 0%, 16.5%)
CIE-LABlab(57.79, 30.59, -42.21)
CIE-LCHlch(57.79, 52.13, 305.93°)
OKLaboklab(64.84% 0.0626 -0.1181)
OKLCHoklch(64.84% 0.134 297.9)
XYZxyz(32.2272, 25.7420, 66.2087)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BD5 #B7D57B
analogous
#7B8AD5 #997BD5 #C67BD5
triadic
#997BD5 #D5997B #7BD599
tetradic
#997BD5 #D57B8A #B7D57B #7BD5C6
square
#997BD5 #D57B8A #B7D57B #7BD5C6
split-complementary
#997BD5 #D5C67B #8AD57B
monochromatic
#5834A2 #754DC6 #997BD5 #BDA9E4 #E1D8F3

Accessibility & contrast

On white

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

On black

6.15
#997BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BD5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BD5#FFFFFF#000000##000000
##997BD51.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618BD8
Deuteranopia (green-blind)
#678AD3
Tritanopia (blue-blind)
#8D8B9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997bd5;
/* rgb */ color: rgb(153, 123, 213);
/* oklch */ color: oklch(64.8% 0.134 297.9);
Tailwind
colors: {
  custom: {
    50: '#b9a1e2',
    500: '#997bd5',
    950: '#000000',
  },
}
SCSS
$custom: #997bd5;
$custom-light: #b9a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#997bd5",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 260,
    "s": 51.724,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.13369,
    "h": 297.9
  },
  "luminance": 0.25742
}

Semantic roles & 50–950 ramp

primary
#997BD5
secondary
#DBE5C7
accent
#BF268C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #997BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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