#997DDE#997DDE

#997DDE is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.7% C 0.142 H 295.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#997DDE
RGBrgb(153, 125, 222)
HSLhsl(257, 60%, 68%)
HSVhsv(257, 44%, 87%)
CMYKcmyk(31.1%, 43.7%, 0%, 12.9%)
CIE-LABlab(58.71, 31.70, -45.82)
CIE-LCHlch(58.71, 55.72, 304.68°)
OKLaboklab(65.68% 0.0614 -0.1286)
OKLCHoklch(65.68% 0.142 295.5)
XYZxyz(33.6520, 26.7130, 72.4762)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DDE #C2DE7D
analogous
#7D91DE #997DDE #CA7DDE
triadic
#997DDE #DE997D #7DDE99
tetradic
#997DDE #DE7D91 #C2DE7D #7DDECA
square
#997DDE #DE7D91 #C2DE7D #7DDECA
split-complementary
#997DDE #DECA7D #91DE7D
monochromatic
#542DB3 #734CD2 #997DDE #BFAEEA #E6DFF7

Accessibility & contrast

On white

3.31
#997DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#997DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DDE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DDE#FFFFFF#000000##000000
##997DDE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE2
Deuteranopia (green-blind)
#648CDC
Tritanopia (blue-blind)
#8A8FA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997dde;
/* rgb */ color: rgb(153, 125, 222);
/* oklch */ color: oklch(65.7% 0.142 295.5);
Tailwind
colors: {
  custom: {
    50: '#b9a3e9',
    500: '#997dde',
    950: '#000000',
  },
}
SCSS
$custom: #997dde;
$custom-light: #b9a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#997dde",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 257.32,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65677,
    "c": 0.14249,
    "h": 295.5
  },
  "luminance": 0.26713
}

Semantic roles & 50–950 ramp

primary
#997DDE
secondary
#E2EACD
accent
#C71E96
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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