#AB9DCD#AB9DCD

#AB9DCD is a light, moderate violet. Relative luminance 0.372; OKLCH L 72.5% C 0.070 H 298.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AB9DCD
RGBrgb(171, 157, 205)
HSLhsl(258, 32%, 71%)
HSVhsv(258, 23%, 80%)
CMYKcmyk(16.6%, 23.4%, 0%, 19.6%)
CIE-LABlab(67.41, 14.75, -22.69)
CIE-LCHlch(67.41, 27.06, 303.03°)
OKLaboklab(72.47% 0.033 -0.062)
OKLCHoklch(72.47% 0.07 298)
XYZxyz(39.8687, 37.1795, 62.8217)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DCD #BFCD9D
analogous
#9DA7CD #AB9DCD #C39DCD
triadic
#AB9DCD #CDAB9D #9DCDAB
tetradic
#AB9DCD #CD9DA7 #BFCD9D #9DCDC3
square
#AB9DCD #CD9DA7 #BFCD9D #9DCDC3
split-complementary
#AB9DCD #CDC39D #A7CD9D
monochromatic
#68519F #8874B8 #AB9DCD #CEC6E2 #EEEBF5

Accessibility & contrast

On white

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

On black

8.44
#AB9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DCD
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DCD#FFFFFF#000000##000000
##AB9DCD1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab9dcd;
/* rgb */ color: rgb(171, 157, 205);
/* oklch */ color: oklch(72.5% 0.070 298.0);
Tailwind
colors: {
  custom: {
    50: '#c4badc',
    500: '#ab9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab9dcd;
$custom-light: #c4badc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9dcd",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 257.5,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.07023,
    "h": 298
  },
  "luminance": 0.3718
}

Semantic roles & 50–950 ramp

primary
#AB9DCD
secondary
#E6E9DD
accent
#AB3A8A
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AB9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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