#997AE5#997AE5

#997AE5 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.5% C 0.156 H 295.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#997AE5
RGBrgb(153, 122, 229)
HSLhsl(257, 67%, 69%)
HSVhsv(257, 47%, 90%)
CMYKcmyk(33.2%, 46.7%, 0%, 10.2%)
CIE-LABlab(58.37, 35.21, -50.27)
CIE-LCHlch(58.37, 61.38, 305.01°)
OKLaboklab(65.54% 0.0663 -0.1416)
OKLCHoklch(65.54% 0.156 295.1)
XYZxyz(34.2357, 26.3479, 77.3955)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AE5 #C6E57A
analogous
#7A91E5 #997AE5 #CF7AE5
triadic
#997AE5 #E5997A #7AE599
tetradic
#997AE5 #E57A91 #C6E57A #7AE5CF
square
#997AE5 #E57A91 #C6E57A #7AE5CF
split-complementary
#997AE5 #E5CF7A #91E57A
monochromatic
#5225BF #7247DB #997AE5 #C0ADEF #E8E0F9

Accessibility & contrast

On white

3.35
#997AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#997AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AE5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AE5#FFFFFF#000000##000000
##997AE51.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568DE9
Deuteranopia (green-blind)
#5C8BE2
Tritanopia (blue-blind)
#888EA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997ae5;
/* rgb */ color: rgb(153, 122, 229);
/* oklch */ color: oklch(65.5% 0.156 295.1);
Tailwind
colors: {
  custom: {
    50: '#baa1ee',
    500: '#997ae5',
    950: '#000000',
  },
}
SCSS
$custom: #997ae5;
$custom-light: #baa1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#997ae5",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 257.383,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65537,
    "c": 0.15635,
    "h": 295.1
  },
  "luminance": 0.26349
}

Semantic roles & 50–950 ramp

primary
#997AE5
secondary
#E4EDCE
accent
#CF169A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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