#997AEA#997AEA

#997AEA is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.8% C 0.163 H 294.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#997AEA
RGBrgb(153, 122, 234)
HSLhsl(257, 73%, 70%)
HSVhsv(257, 48%, 92%)
CMYKcmyk(34.6%, 47.9%, 0%, 8.2%)
CIE-LABlab(58.63, 36.50, -52.64)
CIE-LCHlch(58.63, 64.06, 304.74°)
OKLaboklab(65.82% 0.0669 -0.1485)
OKLCHoklch(65.82% 0.163 294.2)
XYZxyz(34.9439, 26.6312, 81.1252)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AEA #CBEA7A
analogous
#7A93EA #997AEA #D17AEA
triadic
#997AEA #EA997A #7AEA99
tetradic
#997AEA #EA7A93 #CBEA7A #7AEAD1
square
#997AEA #EA7A93 #CBEA7A #7AEAD1
split-complementary
#997AEA #EAD17A #93EA7A
monochromatic
#4F20CA #7045E2 #997AEA #C2AFF2 #EAE4FB

Accessibility & contrast

On white

3.32
#997AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#997AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AEA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AEA#FFFFFF#000000##000000
##997AEA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#8690A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997aea;
/* rgb */ color: rgb(153, 122, 234);
/* oklch */ color: oklch(65.8% 0.163 294.2);
Tailwind
colors: {
  custom: {
    50: '#baa1f1',
    500: '#997aea',
    950: '#000000',
  },
}
SCSS
$custom: #997aea;
$custom-light: #baa1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#997aea",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 256.607,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65822,
    "c": 0.16286,
    "h": 294.2
  },
  "luminance": 0.26632
}

Semantic roles & 50–950 ramp

primary
#997AEA
secondary
#E7F0D0
accent
#D5119F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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