#997DDD#997DDD

#997DDD is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.6% C 0.141 H 295.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#997DDD
RGBrgb(153, 125, 221)
HSLhsl(258, 59%, 68%)
HSVhsv(258, 43%, 87%)
CMYKcmyk(30.8%, 43.4%, 0%, 13.3%)
CIE-LABlab(58.66, 31.45, -45.34)
CIE-LCHlch(58.66, 55.18, 304.75°)
OKLaboklab(65.62% 0.0612 -0.1272)
OKLCHoklch(65.62% 0.141 295.7)
XYZxyz(33.5184, 26.6595, 71.7725)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DDD #C1DD7D
analogous
#7D91DD #997DDD #C97DDD
triadic
#997DDD #DD997D #7DDD99
tetradic
#997DDD #DD7D91 #C1DD7D #7DDDC9
square
#997DDD #DD7D91 #C1DD7D #7DDDC9
split-complementary
#997DDD #DDC97D #91DD7D
monochromatic
#552EB1 #734CD0 #997DDD #BFAEEA #E5DEF6

Accessibility & contrast

On white

3.32
#997DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#997DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DDD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DDD#FFFFFF#000000##000000
##997DDD1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE1
Deuteranopia (green-blind)
#648CDB
Tritanopia (blue-blind)
#8A8FA2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997ddd;
/* rgb */ color: rgb(153, 125, 221);
/* oklch */ color: oklch(65.6% 0.141 295.7);
Tailwind
colors: {
  custom: {
    50: '#b9a3e8',
    500: '#997ddd',
    950: '#000000',
  },
}
SCSS
$custom: #997ddd;
$custom-light: #b9a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#997ddd",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 257.5,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65623,
    "c": 0.14116,
    "h": 295.7
  },
  "luminance": 0.2666
}

Semantic roles & 50–950 ramp

primary
#997DDD
secondary
#E1EACC
accent
#C61F96
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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