#997DDF#997DDF

#997DDF is a light, vivid violet. Relative luminance 0.268; OKLCH L 65.7% C 0.144 H 295.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#997DDF
RGBrgb(153, 125, 223)
HSLhsl(257, 60%, 68%)
HSVhsv(257, 44%, 87%)
CMYKcmyk(31.4%, 43.9%, 0%, 12.5%)
CIE-LABlab(58.76, 31.96, -46.30)
CIE-LCHlch(58.76, 56.26, 304.62°)
OKLaboklab(65.73% 0.0615 -0.13)
OKLCHoklch(65.73% 0.144 295.3)
XYZxyz(33.7865, 26.7667, 73.1842)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DDF #C3DF7D
analogous
#7D92DF #997DDF #CA7DDF
triadic
#997DDF #DF997D #7DDF99
tetradic
#997DDF #DF7D92 #C3DF7D #7DDFCA
square
#997DDF #DF7D92 #C3DF7D #7DDFCA
split-complementary
#997DDF #DFCA7D #92DF7D
monochromatic
#542DB5 #724CD3 #997DDF #C0AEEB #E6DFF7

Accessibility & contrast

On white

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

On black

6.35
#997DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DDF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DDF#FFFFFF#000000##000000
##997DDF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#638CDD
Tritanopia (blue-blind)
#8A8FA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997ddf;
/* rgb */ color: rgb(153, 125, 223);
/* oklch */ color: oklch(65.7% 0.144 295.3);
Tailwind
colors: {
  custom: {
    50: '#b9a3e9',
    500: '#997ddf',
    950: '#000000',
  },
}
SCSS
$custom: #997ddf;
$custom-light: #b9a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#997ddf",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 257.143,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65731,
    "c": 0.14382,
    "h": 295.3
  },
  "luminance": 0.26767
}

Semantic roles & 50–950 ramp

primary
#997DDF
secondary
#E2EBCD
accent
#C81D97
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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