#997EEA#997EEA

#997EEA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.157 H 293.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#997EEA
RGBrgb(153, 126, 234)
HSLhsl(255, 72%, 71%)
HSVhsv(255, 46%, 92%)
CMYKcmyk(34.6%, 46.2%, 0%, 8.2%)
CIE-LABlab(59.56, 34.22, -51.17)
CIE-LCHlch(59.56, 61.56, 303.77°)
OKLaboklab(66.52% 0.0617 -0.1442)
OKLCHoklch(66.52% 0.157 293.2)
XYZxyz(35.4452, 27.6338, 81.2923)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EEA #CFEA7E
analogous
#7E99EA #997EEA #CF7EEA
triadic
#997EEA #EA997E #7EEA99
tetradic
#997EEA #EA7E99 #CFEA7E #7EEACF
square
#997EEA #EA7E99 #CFEA7E #7EEACF
split-complementary
#997EEA #EACF7E #99EA7E
monochromatic
#4C21CC #6F49E1 #997EEA #C3B3F3 #EAE5FB

Accessibility & contrast

On white

3.22
#997EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#997EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EEA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EEA#FFFFFF#000000##000000
##997EEA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#8693A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997eea;
/* rgb */ color: rgb(153, 126, 234);
/* oklch */ color: oklch(66.5% 0.157 293.2);
Tailwind
colors: {
  custom: {
    50: '#baa4f1',
    500: '#997eea',
    950: '#000000',
  },
}
SCSS
$custom: #997eea;
$custom-light: #baa4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#997eea",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 255,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66516,
    "c": 0.15686,
    "h": 293.2
  },
  "luminance": 0.27635
}

Semantic roles & 50–950 ramp

primary
#997EEA
secondary
#E9F1D3
accent
#D411A3
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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