#997AEB#997AEB

#997AEB is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.9% C 0.164 H 294.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#997AEB
RGBrgb(153, 122, 235)
HSLhsl(256, 74%, 70%)
HSVhsv(256, 48%, 92%)
CMYKcmyk(34.9%, 48.1%, 0%, 7.8%)
CIE-LABlab(58.69, 36.76, -53.11)
CIE-LCHlch(58.69, 64.59, 304.69°)
OKLaboklab(65.88% 0.067 -0.1499)
OKLCHoklch(65.88% 0.164 294.1)
XYZxyz(35.0879, 26.6888, 81.8840)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AEB #CCEB7A
analogous
#7A94EB #997AEB #D17AEB
triadic
#997AEB #EB997A #7AEB99
tetradic
#997AEB #EB7A94 #CCEB7A #7AEBD1
square
#997AEB #EB7A94 #CCEB7A #7AEBD1
split-complementary
#997AEB #EBD17A #94EB7A
monochromatic
#4E1FCC #7045E3 #997AEB #C2AFF3 #EBE4FB

Accessibility & contrast

On white

3.31
#997AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#997AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AEB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AEB#FFFFFF#000000##000000
##997AEB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#8690A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997aeb;
/* rgb */ color: rgb(153, 122, 235);
/* oklch */ color: oklch(65.9% 0.164 294.1);
Tailwind
colors: {
  custom: {
    50: '#baa1f2',
    500: '#997aeb',
    950: '#000000',
  },
}
SCSS
$custom: #997aeb;
$custom-light: #baa1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#997aeb",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 256.46,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.6588,
    "c": 0.16417,
    "h": 294.1
  },
  "luminance": 0.2669
}

Semantic roles & 50–950 ramp

primary
#997AEB
secondary
#E8F0D1
accent
#D610A0
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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