#997AED#997AED

#997AED is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.0% C 0.167 H 293.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#997AED
RGBrgb(153, 122, 237)
HSLhsl(256, 76%, 70%)
HSVhsv(256, 49%, 93%)
CMYKcmyk(35.4%, 48.5%, 0%, 7.1%)
CIE-LABlab(58.79, 37.28, -54.05)
CIE-LCHlch(58.79, 65.66, 304.60°)
OKLaboklab(66% 0.0672 -0.1526)
OKLCHoklch(66% 0.167 293.7)
XYZxyz(35.3785, 26.8051, 83.4143)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AED #CEED7A
analogous
#7A94ED #997AED #D27AED
triadic
#997AED #ED997A #7AED99
tetradic
#997AED #ED7A94 #CEED7A #7AEDD2
square
#997AED #ED7A94 #CEED7A #7AEDD2
split-complementary
#997AED #EDD27A #94ED7A
monochromatic
#4D1CD0 #7044E6 #997AED #C2B0F4 #EAE4FB

Accessibility & contrast

On white

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

On black

6.36
#997AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AED
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AED#FFFFFF#000000##000000
##997AED1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#558CEA
Tritanopia (blue-blind)
#8591A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997aed;
/* rgb */ color: rgb(153, 122, 237);
/* oklch */ color: oklch(66.0% 0.167 293.7);
Tailwind
colors: {
  custom: {
    50: '#bba1f3',
    500: '#997aed',
    950: '#000000',
  },
}
SCSS
$custom: #997aed;
$custom-light: #bba1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997aed",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 256.174,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65996,
    "c": 0.16676,
    "h": 293.7
  },
  "luminance": 0.26806
}

Semantic roles & 50–950 ramp

primary
#997AED
secondary
#E9F1D2
accent
#D80DA2
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AED

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

Preview Lab → · Contrast checker → · Palette generator →

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