#AB9CD7#AB9CD7

#AB9CD7 is a light, moderate violet. Relative luminance 0.373; OKLCH L 72.7% C 0.086 H 295.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#AB9CD7
RGBrgb(171, 156, 215)
HSLhsl(255, 42%, 73%)
HSVhsv(255, 27%, 84%)
CMYKcmyk(20.5%, 27.4%, 0%, 15.7%)
CIE-LABlab(67.53, 17.57, -28.04)
CIE-LCHlch(67.53, 33.09, 302.08°)
OKLaboklab(72.69% 0.0374 -0.0771)
OKLCHoklch(72.69% 0.086 295.9)
XYZxyz(40.9460, 37.3408, 69.3271)
Luminance0.3734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9CD7 #C8D79C
analogous
#9CAAD7 #AB9CD7 #C89CD7
triadic
#AB9CD7 #D7AB9C #9CD7AB
tetradic
#AB9CD7 #D79CAA #C8D79C #9CD7C8
square
#AB9CD7 #D79CAA #C8D79C #9CD7C8
split-complementary
#AB9CD7 #D7C89C #AAD79C
monochromatic
#6248B1 #8670C5 #AB9CD7 #D0C8E9 #EDE9F6

Accessibility & contrast

On white

2.48
#AB9CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#AB9CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9CD7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9CD7#FFFFFF#000000##000000
##AB9CD71.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA5D9
Deuteranopia (green-blind)
#90A4D5
Tritanopia (blue-blind)
#A3A5B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab9cd7;
/* rgb */ color: rgb(171, 156, 215);
/* oklch */ color: oklch(72.7% 0.086 295.9);
Tailwind
colors: {
  custom: {
    50: '#c4b9e3',
    500: '#ab9cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ab9cd7;
$custom-light: #c4b9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9cd7",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 255.254,
    "s": 42.446,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72686,
    "c": 0.08571,
    "h": 295.9
  },
  "luminance": 0.37341
}

Semantic roles & 50–950 ramp

primary
#AB9CD7
secondary
#E9EDDE
accent
#B63094
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB9CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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