#997FDD#997FDD

#997FDD is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.0% C 0.138 H 295.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#997FDD
RGBrgb(153, 127, 221)
HSLhsl(257, 58%, 68%)
HSVhsv(257, 43%, 87%)
CMYKcmyk(30.8%, 42.5%, 0%, 13.3%)
CIE-LABlab(59.13, 30.30, -44.59)
CIE-LCHlch(59.13, 53.91, 304.20°)
OKLaboklab(65.98% 0.0585 -0.125)
OKLCHoklch(65.98% 0.138 295.1)
XYZxyz(33.7742, 27.1710, 71.8577)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FDD #C3DD7F
analogous
#7F94DD #997FDD #C87FDD
triadic
#997FDD #DD997F #7FDD99
tetradic
#997FDD #DD7F94 #C3DD7F #7FDDC8
square
#997FDD #DD7F94 #C3DD7F #7FDDC8
split-complementary
#997FDD #DDC87F #94DD7F
monochromatic
#542FB2 #724FD0 #997FDD #C0AFEA #E6E0F7

Accessibility & contrast

On white

3.26
#997FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#997FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FDD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FDD#FFFFFF#000000##000000
##997FDD1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE1
Deuteranopia (green-blind)
#678DDB
Tritanopia (blue-blind)
#8A90A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997fdd;
/* rgb */ color: rgb(153, 127, 221);
/* oklch */ color: oklch(66.0% 0.138 295.1);
Tailwind
colors: {
  custom: {
    50: '#b9a4e8',
    500: '#997fdd',
    950: '#000000',
  },
}
SCSS
$custom: #997fdd;
$custom-light: #b9a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#997fdd",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 256.596,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.13804,
    "h": 295.1
  },
  "luminance": 0.27172
}

Semantic roles & 50–950 ramp

primary
#997FDD
secondary
#E2EACE
accent
#C62098
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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