#997EE4#997EE4

#997EE4 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.2% C 0.149 H 294.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#997EE4
RGBrgb(153, 126, 228)
HSLhsl(256, 65%, 69%)
HSVhsv(256, 45%, 89%)
CMYKcmyk(32.9%, 44.7%, 0%, 10.6%)
CIE-LABlab(59.25, 32.67, -48.32)
CIE-LCHlch(59.25, 58.33, 304.06°)
OKLaboklab(66.18% 0.0609 -0.1359)
OKLCHoklch(66.18% 0.149 294.1)
XYZxyz(34.5978, 27.2948, 76.8294)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE4 #C9E47E
analogous
#7E96E4 #997EE4 #CC7EE4
triadic
#997EE4 #E4997E #7EE499
tetradic
#997EE4 #E47E96 #C9E47E #7EE4CC
square
#997EE4 #E47E96 #C9E47E #7EE4CC
split-complementary
#997EE4 #E4CC7E #96E47E
monochromatic
#5028C0 #714BD9 #997EE4 #C1B1EF #E9E3F9

Accessibility & contrast

On white

3.25
#997EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#997EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE4#FFFFFF#000000##000000
##997EE41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#8891A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997ee4;
/* rgb */ color: rgb(153, 126, 228);
/* oklch */ color: oklch(66.2% 0.149 294.1);
Tailwind
colors: {
  custom: {
    50: '#baa3ed',
    500: '#997ee4',
    950: '#000000',
  },
}
SCSS
$custom: #997ee4;
$custom-light: #baa3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee4",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 255.882,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.14892,
    "h": 294.1
  },
  "luminance": 0.27295
}

Semantic roles & 50–950 ramp

primary
#997EE4
secondary
#E6EED0
accent
#CD189D
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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