#997AE4#997AE4

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

Color values

HEX#997AE4
RGBrgb(153, 122, 228)
HSLhsl(258, 66%, 69%)
HSVhsv(258, 46%, 89%)
CMYKcmyk(32.9%, 46.5%, 0%, 10.6%)
CIE-LABlab(58.31, 34.95, -49.80)
CIE-LCHlch(58.31, 60.84, 305.07°)
OKLaboklab(65.48% 0.0662 -0.1402)
OKLCHoklch(65.48% 0.155 295.3)
XYZxyz(34.0965, 26.2923, 76.6623)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AE4 #C5E47A
analogous
#7A90E4 #997AE4 #CE7AE4
triadic
#997AE4 #E4997A #7AE499
tetradic
#997AE4 #E47A90 #C5E47A #7AE4CE
square
#997AE4 #E47A90 #C5E47A #7AE4CE
split-complementary
#997AE4 #E4CE7A #90E47A
monochromatic
#5326BD #7247DA #997AE4 #C0ADEE #E7E0F9

Accessibility & contrast

On white

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

On black

6.26
#997AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AE4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AE4#FFFFFF#000000##000000
##997AE41.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997ae4;
/* rgb */ color: rgb(153, 122, 228);
/* oklch */ color: oklch(65.5% 0.155 295.3);
Tailwind
colors: {
  custom: {
    50: '#baa1ed',
    500: '#997ae4',
    950: '#000000',
  },
}
SCSS
$custom: #997ae4;
$custom-light: #baa1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#997ae4",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 257.547,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6548,
    "c": 0.15504,
    "h": 295.3
  },
  "luminance": 0.26293
}

Semantic roles & 50–950 ramp

primary
#997AE4
secondary
#E3EDCD
accent
#CE1799
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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