#997EED#997EED

#997EED is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.7% C 0.161 H 292.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#997EED
RGBrgb(153, 126, 237)
HSLhsl(255, 76%, 71%)
HSVhsv(255, 47%, 93%)
CMYKcmyk(35.4%, 46.8%, 0%, 7.1%)
CIE-LABlab(59.71, 35.00, -52.58)
CIE-LCHlch(59.71, 63.17, 303.65°)
OKLaboklab(66.69% 0.0621 -0.1483)
OKLCHoklch(66.69% 0.161 292.7)
XYZxyz(35.8798, 27.8076, 83.5814)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EED #D2ED7E
analogous
#7E9AED #997EED #D07EED
triadic
#997EED #ED997E #7EED99
tetradic
#997EED #ED7E9A #D2ED7E #7EEDD0
square
#997EED #ED7E9A #D2ED7E #7EEDD0
split-complementary
#997EED #EDD07E #9AED7E
monochromatic
#4A1DD3 #6F48E6 #997EED #C3B4F4 #EAE4FB

Accessibility & contrast

On white

3.20
#997EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#997EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EED
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EED#FFFFFF#000000##000000
##997EED1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F1
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#8494AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997eed;
/* rgb */ color: rgb(153, 126, 237);
/* oklch */ color: oklch(66.7% 0.161 292.7);
Tailwind
colors: {
  custom: {
    50: '#baa4f3',
    500: '#997eed',
    950: '#000000',
  },
}
SCSS
$custom: #997eed;
$custom-light: #baa4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997eed",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 254.595,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66686,
    "c": 0.1608,
    "h": 292.7
  },
  "luminance": 0.27808
}

Semantic roles & 50–950 ramp

primary
#997EED
secondary
#EBF2D5
accent
#D80EA7
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EED

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

Preview Lab → · Contrast checker → · Palette generator →

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