#997AE3#997AE3

#997AE3 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.4% C 0.154 H 295.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#997AE3
RGBrgb(153, 122, 227)
HSLhsl(258, 65%, 68%)
HSVhsv(258, 46%, 89%)
CMYKcmyk(32.6%, 46.3%, 0%, 11%)
CIE-LABlab(58.26, 34.70, -49.32)
CIE-LCHlch(58.26, 60.31, 305.13°)
OKLaboklab(65.42% 0.0661 -0.1388)
OKLCHoklch(65.42% 0.154 295.4)
XYZxyz(33.9581, 26.2369, 75.9333)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AE3 #C4E37A
analogous
#7A8FE3 #997AE3 #CD7AE3
triadic
#997AE3 #E3997A #7AE399
tetradic
#997AE3 #E37A8F #C4E37A #7AE3CD
square
#997AE3 #E37A8F #C4E37A #7AE3CD
split-complementary
#997AE3 #E3CD7A #8FE37A
monochromatic
#5327BB #7247D8 #997AE3 #C0ADEE #E7DFF8

Accessibility & contrast

On white

3.36
#997AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#997AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AE3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AE3#FFFFFF#000000##000000
##997AE31.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578DE7
Deuteranopia (green-blind)
#5D8BE0
Tritanopia (blue-blind)
#888EA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997ae3;
/* rgb */ color: rgb(153, 122, 227);
/* oklch */ color: oklch(65.4% 0.154 295.4);
Tailwind
colors: {
  custom: {
    50: '#baa1ec',
    500: '#997ae3',
    950: '#000000',
  },
}
SCSS
$custom: #997ae3;
$custom-light: #baa1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#997ae3",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 257.714,
    "s": 65.217,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65424,
    "c": 0.15373,
    "h": 295.4
  },
  "luminance": 0.26237
}

Semantic roles & 50–950 ramp

primary
#997AE3
secondary
#E3ECCD
accent
#CD1898
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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