#997AEE#997AEE

#997AEE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.1% C 0.168 H 293.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#997AEE
RGBrgb(153, 122, 238)
HSLhsl(256, 77%, 71%)
HSVhsv(256, 49%, 93%)
CMYKcmyk(35.7%, 48.7%, 0%, 6.7%)
CIE-LABlab(58.85, 37.54, -54.52)
CIE-LCHlch(58.85, 66.19, 304.55°)
OKLaboklab(66.05% 0.0673 -0.154)
OKLCHoklch(66.05% 0.168 293.6)
XYZxyz(35.5250, 26.8637, 84.1859)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AEE #CFEE7A
analogous
#7A95EE #997AEE #D37AEE
triadic
#997AEE #EE997A #7AEE99
tetradic
#997AEE #EE7A95 #CFEE7A #7AEED3
square
#997AEE #EE7A95 #CFEE7A #7AEED3
split-complementary
#997AEE #EED37A #95EE7A
monochromatic
#4C1BD3 #6F44E7 #997AEE #C3B0F5 #EAE4FC

Accessibility & contrast

On white

3.30
#997AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#997AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AEE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AEE#FFFFFF#000000##000000
##997AEE1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF2
Deuteranopia (green-blind)
#548CEB
Tritanopia (blue-blind)
#8491A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997aee;
/* rgb */ color: rgb(153, 122, 238);
/* oklch */ color: oklch(66.1% 0.168 293.6);
Tailwind
colors: {
  custom: {
    50: '#bba1f4',
    500: '#997aee',
    950: '#000000',
  },
}
SCSS
$custom: #997aee;
$custom-light: #bba1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#997aee",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 256.034,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66054,
    "c": 0.16805,
    "h": 293.6
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#997AEE
secondary
#E9F2D2
accent
#DA0CA3
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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