#AB9CD2#AB9CD2

#AB9CD2 is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.5% C 0.079 H 297.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#AB9CD2
RGBrgb(171, 156, 210)
HSLhsl(257, 38%, 72%)
HSVhsv(257, 26%, 82%)
CMYKcmyk(18.6%, 25.7%, 0%, 17.6%)
CIE-LABlab(67.34, 16.43, -25.56)
CIE-LCHlch(67.34, 30.39, 302.74°)
OKLaboklab(72.48% 0.0359 -0.0701)
OKLCHoklch(72.48% 0.079 297.1)
XYZxyz(40.3134, 37.0878, 65.9951)
Luminance0.3709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9CD2 #C3D29C
analogous
#9CA8D2 #AB9CD2 #C69CD2
triadic
#AB9CD2 #D2AB9C #9CD2AB
tetradic
#AB9CD2 #D29CA8 #C3D29C #9CD2C6
square
#AB9CD2 #D29CA8 #C3D29C #9CD2C6
split-complementary
#AB9CD2 #D2C69C #A8D29C
monochromatic
#664CA7 #8772BF #AB9CD2 #CFC6E5 #EDEAF5

Accessibility & contrast

On white

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

On black

8.42
#AB9CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9CD2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9CD2#FFFFFF#000000##000000
##AB9CD21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A4D4
Deuteranopia (green-blind)
#92A3D0
Tritanopia (blue-blind)
#A4A4AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab9cd2;
/* rgb */ color: rgb(171, 156, 210);
/* oklch */ color: oklch(72.5% 0.079 297.1);
Tailwind
colors: {
  custom: {
    50: '#c4b9e0',
    500: '#ab9cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9cd2;
$custom-light: #c4b9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9cd2",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 256.667,
    "s": 37.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.07879,
    "h": 297.1
  },
  "luminance": 0.37088
}

Semantic roles & 50–950 ramp

primary
#AB9CD2
secondary
#E8ECDE
accent
#B0358E
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB9CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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