#997AE7#997AE7

#997AE7 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.6% C 0.159 H 294.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#997AE7
RGBrgb(153, 122, 231)
HSLhsl(257, 69%, 69%)
HSVhsv(257, 47%, 91%)
CMYKcmyk(33.8%, 47.2%, 0%, 9.4%)
CIE-LABlab(58.47, 35.73, -51.22)
CIE-LCHlch(58.47, 62.45, 304.90°)
OKLaboklab(65.65% 0.0665 -0.1444)
OKLCHoklch(65.65% 0.159 294.7)
XYZxyz(34.5165, 26.4603, 78.8746)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AE7 #C8E77A
analogous
#7A92E7 #997AE7 #D07AE7
triadic
#997AE7 #E7997A #7AE799
tetradic
#997AE7 #E77A92 #C8E77A #7AE7D0
square
#997AE7 #E77A92 #C8E77A #7AE7D0
split-complementary
#997AE7 #E7D07A #92E77A
monochromatic
#5123C3 #7146DE #997AE7 #C1AEF0 #E9E2FA

Accessibility & contrast

On white

3.34
#997AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#997AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AE7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AE7#FFFFFF#000000##000000
##997AE71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#548EEB
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#878FA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997ae7;
/* rgb */ color: rgb(153, 122, 231);
/* oklch */ color: oklch(65.6% 0.159 294.7);
Tailwind
colors: {
  custom: {
    50: '#baa1ef',
    500: '#997ae7',
    950: '#000000',
  },
}
SCSS
$custom: #997ae7;
$custom-light: #baa1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#997ae7",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 257.064,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.15896,
    "h": 294.7
  },
  "luminance": 0.26461
}

Semantic roles & 50–950 ramp

primary
#997AE7
secondary
#E5EECF
accent
#D1149C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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