#997EE9#997EE9

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

Color values

HEX#997EE9
RGBrgb(153, 126, 233)
HSLhsl(255, 71%, 70%)
HSVhsv(255, 46%, 91%)
CMYKcmyk(34.3%, 45.9%, 0%, 8.6%)
CIE-LABlab(59.50, 33.96, -50.69)
CIE-LCHlch(59.50, 61.02, 303.82°)
OKLaboklab(66.46% 0.0616 -0.1428)
OKLCHoklch(66.46% 0.156 293.3)
XYZxyz(35.3019, 27.5765, 80.5379)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE9 #CEE97E
analogous
#7E98E9 #997EE9 #CE7EE9
triadic
#997EE9 #E9997E #7EE999
tetradic
#997EE9 #E97E98 #CEE97E #7EE9CE
square
#997EE9 #E97E98 #CEE97E #7EE9CE
split-complementary
#997EE9 #E9CE7E #98E97E
monochromatic
#4D22CA #704AE0 #997EE9 #C2B2F2 #EAE5FB

Accessibility & contrast

On white

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

On black

6.52
#997EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE9#FFFFFF#000000##000000
##997EE91.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91ED
Deuteranopia (green-blind)
#5E8DE6
Tritanopia (blue-blind)
#8692A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997ee9;
/* rgb */ color: rgb(153, 126, 233);
/* oklch */ color: oklch(66.5% 0.156 293.3);
Tailwind
colors: {
  custom: {
    50: '#baa4f0',
    500: '#997ee9',
    950: '#000000',
  },
}
SCSS
$custom: #997ee9;
$custom-light: #baa4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee9",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 233
  },
  "hsl": {
    "h": 255.14,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.15554,
    "h": 293.3
  },
  "luminance": 0.27577
}

Semantic roles & 50–950 ramp

primary
#997EE9
secondary
#E9F0D3
accent
#D313A2
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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