#997ACC#997ACC

#997ACC is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.2% C 0.123 H 300.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#997ACC
RGBrgb(153, 122, 204)
HSLhsl(263, 45%, 64%)
HSVhsv(263, 40%, 80%)
CMYKcmyk(25%, 40.2%, 0%, 20%)
CIE-LABlab(57.13, 28.95, -38.18)
CIE-LCHlch(57.13, 47.92, 307.18°)
OKLaboklab(64.2% 0.0624 -0.1064)
OKLCHoklch(64.2% 0.123 300.4)
XYZxyz(30.9930, 25.0509, 60.3175)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997ACC #ADCC7A
analogous
#7A84CC #997ACC #C27ACC
triadic
#997ACC #CC997A #7ACC99
tetradic
#997ACC #CC7A84 #ADCC7A #7ACCC2
square
#997ACC #CC7A84 #ADCC7A #7ACCC2
split-complementary
#997ACC #CCC27A #84CC7A
monochromatic
#5B3893 #774EBB #997ACC #BBA6DD #DDD2EE

Accessibility & contrast

On white

3.49
#997ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#997ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997ACC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997ACC#FFFFFF#000000##000000
##997ACC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#6B89CA
Tritanopia (blue-blind)
#908899
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997acc;
/* rgb */ color: rgb(153, 122, 204);
/* oklch */ color: oklch(64.2% 0.123 300.4);
Tailwind
colors: {
  custom: {
    50: '#b8a1dc',
    500: '#997acc',
    950: '#000000',
  },
}
SCSS
$custom: #997acc;
$custom-light: #b8a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#997acc",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 262.683,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64197,
    "c": 0.12335,
    "h": 300.4
  },
  "luminance": 0.25051
}

Semantic roles & 50–950 ramp

primary
#997ACC
secondary
#D4DFC3
accent
#B82E84
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #997ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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