#997FEE#997FEE

#997FEE is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.9% C 0.161 H 292.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#997FEE
RGBrgb(153, 127, 238)
HSLhsl(254, 77%, 72%)
HSVhsv(254, 47%, 93%)
CMYKcmyk(35.7%, 46.6%, 0%, 6.7%)
CIE-LABlab(60.00, 34.70, -52.68)
CIE-LCHlch(60.00, 63.08, 303.37°)
OKLaboklab(66.92% 0.0609 -0.1486)
OKLCHoklch(66.92% 0.161 292.3)
XYZxyz(36.1548, 28.1233, 84.3958)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FEE #D4EE7F
analogous
#7F9DEE #997FEE #D17FEE
triadic
#997FEE #EE997F #7FEE99
tetradic
#997FEE #EE7F9D #D4EE7F #7FEED1
square
#997FEE #EE7F9D #D4EE7F #7FEED1
split-complementary
#997FEE #EED17F #9DEE7F
monochromatic
#481CD6 #6E49E7 #997FEE #C4B5F5 #E9E4FB

Accessibility & contrast

On white

3.17
#997FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#997FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FEE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FEE#FFFFFF#000000##000000
##997FEE1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#8495AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997fee;
/* rgb */ color: rgb(153, 127, 238);
/* oklch */ color: oklch(66.9% 0.161 292.3);
Tailwind
colors: {
  custom: {
    50: '#baa4f4',
    500: '#997fee',
    950: '#000000',
  },
}
SCSS
$custom: #997fee;
$custom-light: #baa4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#997fee",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 254.054,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66918,
    "c": 0.16064,
    "h": 292.3
  },
  "luminance": 0.28124
}

Semantic roles & 50–950 ramp

primary
#997FEE
secondary
#ECF3D6
accent
#D90DA9
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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