#997BEA#997BEA

#997BEA is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.0% C 0.161 H 294.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#997BEA
RGBrgb(153, 123, 234)
HSLhsl(256, 73%, 70%)
HSVhsv(256, 47%, 92%)
CMYKcmyk(34.6%, 47.4%, 0%, 8.2%)
CIE-LABlab(58.86, 35.93, -52.27)
CIE-LCHlch(58.86, 63.43, 304.51°)
OKLaboklab(65.99% 0.0656 -0.1474)
OKLCHoklch(65.99% 0.161 294)
XYZxyz(35.0673, 26.8781, 81.1664)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BEA #CCEA7B
analogous
#7B95EA #997BEA #D07BEA
triadic
#997BEA #EA997B #7BEA99
tetradic
#997BEA #EA7B95 #CCEA7B #7BEAD0
square
#997BEA #EA7B95 #CCEA7B #7BEAD0
split-complementary
#997BEA #EAD07B #95EA7B
monochromatic
#4E20CA #7046E2 #997BEA #C2B0F2 #EBE5FB

Accessibility & contrast

On white

3.29
#997BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#997BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BEA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BEA#FFFFFF#000000##000000
##997BEA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#8690A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997bea;
/* rgb */ color: rgb(153, 123, 234);
/* oklch */ color: oklch(66.0% 0.161 294.0);
Tailwind
colors: {
  custom: {
    50: '#baa1f1',
    500: '#997bea',
    950: '#000000',
  },
}
SCSS
$custom: #997bea;
$custom-light: #baa1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#997bea",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 256.216,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.65994,
    "c": 0.16136,
    "h": 294
  },
  "luminance": 0.26879
}

Semantic roles & 50–950 ramp

primary
#997BEA
secondary
#E8F0D1
accent
#D511A0
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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