#AB9DCC#AB9DCC

#AB9DCC is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.4% C 0.069 H 298.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AB9DCC
RGBrgb(171, 157, 204)
HSLhsl(258, 32%, 71%)
HSVhsv(258, 23%, 80%)
CMYKcmyk(16.2%, 23%, 0%, 20%)
CIE-LABlab(67.38, 14.53, -22.19)
CIE-LCHlch(67.38, 26.52, 303.22°)
OKLaboklab(72.43% 0.0327 -0.0606)
OKLCHoklch(72.43% 0.069 298.3)
XYZxyz(39.7484, 37.1313, 62.1880)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DCC #BECC9D
analogous
#9DA6CC #AB9DCC #C29DCC
triadic
#AB9DCC #CCAB9D #9DCCAB
tetradic
#AB9DCC #CC9DA6 #BECC9D #9DCCC2
square
#AB9DCC #CC9DA6 #BECC9D #9DCCC2
split-complementary
#AB9DCC #CCC29D #A6CC9D
monochromatic
#68529D #8875B7 #AB9DCC #CEC5E1 #EEEBF5

Accessibility & contrast

On white

2.49
#AB9DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AB9DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DCC
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DCC#FFFFFF#000000##000000
##AB9DCC1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CE
Deuteranopia (green-blind)
#95A4CB
Tritanopia (blue-blind)
#A5A4AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab9dcc;
/* rgb */ color: rgb(171, 157, 204);
/* oklch */ color: oklch(72.4% 0.069 298.3);
Tailwind
colors: {
  custom: {
    50: '#c4badb',
    500: '#ab9dcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab9dcc;
$custom-light: #c4badb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9dcc",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 204
  },
  "hsl": {
    "h": 257.872,
    "s": 31.544,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72431,
    "c": 0.06884,
    "h": 298.3
  },
  "luminance": 0.37132
}

Semantic roles & 50–950 ramp

primary
#AB9DCC
secondary
#E5E9DC
accent
#AA3B89
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AB9DCC

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

Preview Lab → · Contrast checker → · Palette generator →

#AB9DCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva