#997BDE#997BDE

#997BDE is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.3% C 0.146 H 296.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#997BDE
RGBrgb(153, 123, 222)
HSLhsl(258, 60%, 68%)
HSVhsv(258, 45%, 87%)
CMYKcmyk(31.1%, 44.6%, 0%, 12.9%)
CIE-LABlab(58.24, 32.85, -46.56)
CIE-LCHlch(58.24, 56.99, 305.20°)
OKLaboklab(65.32% 0.0641 -0.1308)
OKLCHoklch(65.32% 0.146 296.1)
XYZxyz(33.4014, 26.2117, 72.3927)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BDE #C0DE7B
analogous
#7B8EDE #997BDE #CB7BDE
triadic
#997BDE #DE997B #7BDE99
tetradic
#997BDE #DE7B8E #C0DE7B #7BDECB
square
#997BDE #DE7B8E #C0DE7B #7BDECB
split-complementary
#997BDE #DECB7B #8EDE7B
monochromatic
#552DB2 #734AD2 #997BDE #BFACEA #E5DDF6

Accessibility & contrast

On white

3.36
#997BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#997BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BDE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BDE#FFFFFF#000000##000000
##997BDE1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE2
Deuteranopia (green-blind)
#628BDC
Tritanopia (blue-blind)
#8A8DA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997bde;
/* rgb */ color: rgb(153, 123, 222);
/* oklch */ color: oklch(65.3% 0.146 296.1);
Tailwind
colors: {
  custom: {
    50: '#b9a1e9',
    500: '#997bde',
    950: '#000000',
  },
}
SCSS
$custom: #997bde;
$custom-light: #b9a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#997bde",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 258.182,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.14561,
    "h": 296.1
  },
  "luminance": 0.26212
}

Semantic roles & 50–950 ramp

primary
#997BDE
secondary
#E0EACB
accent
#C81E94
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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