#997EEE#997EEE

#997EEE is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.7% C 0.162 H 292.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#997EEE
RGBrgb(153, 126, 238)
HSLhsl(254, 77%, 71%)
HSVhsv(254, 47%, 93%)
CMYKcmyk(35.7%, 47.1%, 0%, 6.7%)
CIE-LABlab(59.77, 35.27, -53.05)
CIE-LCHlch(59.77, 63.70, 303.61°)
OKLaboklab(66.74% 0.0622 -0.1497)
OKLCHoklch(66.74% 0.162 292.6)
XYZxyz(36.0263, 27.8662, 84.3530)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EEE #D3EE7E
analogous
#7E9BEE #997EEE #D17EEE
triadic
#997EEE #EE997E #7EEE99
tetradic
#997EEE #EE7E9B #D3EE7E #7EEED1
square
#997EEE #EE7E9B #D3EE7E #7EEED1
split-complementary
#997EEE #EED17E #9BEE7E
monochromatic
#491CD5 #6E48E7 #997EEE #C4B4F5 #EAE4FB

Accessibility & contrast

On white

3.19
#997EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#997EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EEE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EEE#FFFFFF#000000##000000
##997EEE1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#8494AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997eee;
/* rgb */ color: rgb(153, 126, 238);
/* oklch */ color: oklch(66.7% 0.162 292.6);
Tailwind
colors: {
  custom: {
    50: '#baa4f4',
    500: '#997eee',
    950: '#000000',
  },
}
SCSS
$custom: #997eee;
$custom-light: #baa4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#997eee",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 254.464,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66743,
    "c": 0.16212,
    "h": 292.6
  },
  "luminance": 0.27867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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