#997BDB#997BDB

#997BDB is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.2% C 0.142 H 296.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#997BDB
RGBrgb(153, 123, 219)
HSLhsl(259, 57%, 67%)
HSVhsv(259, 44%, 86%)
CMYKcmyk(30.1%, 43.8%, 0%, 14.1%)
CIE-LABlab(58.09, 32.09, -45.12)
CIE-LCHlch(58.09, 55.37, 305.42°)
OKLaboklab(65.16% 0.0636 -0.1266)
OKLCHoklch(65.16% 0.142 296.7)
XYZxyz(33.0029, 26.0523, 70.2939)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BDB #BDDB7B
analogous
#7B8DDB #997BDB #C97BDB
triadic
#997BDB #DB997B #7BDB99
tetradic
#997BDB #DB7B8D #BDDB7B #7BDBC9
square
#997BDB #DB7B8D #BDDB7B #7BDBC9
split-complementary
#997BDB #DBC97B #8DDB7B
monochromatic
#562FAD #744BCE #997BDB #BEABE8 #E3DBF5

Accessibility & contrast

On white

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

On black

6.21
#997BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BDB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BDB#FFFFFF#000000##000000
##997BDB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDF
Deuteranopia (green-blind)
#638AD9
Tritanopia (blue-blind)
#8B8CA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997bdb;
/* rgb */ color: rgb(153, 123, 219);
/* oklch */ color: oklch(65.2% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#b9a1e6',
    500: '#997bdb',
    950: '#000000',
  },
}
SCSS
$custom: #997bdb;
$custom-light: #b9a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#997bdb",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 258.75,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6516,
    "c": 0.14164,
    "h": 296.7
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#997BDB
secondary
#DFE8CA
accent
#C52191
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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