#AB9BD2#AB9BD2

#AB9BD2 is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.3% C 0.080 H 297.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AB9BD2
RGBrgb(171, 155, 210)
HSLhsl(257, 38%, 72%)
HSVhsv(257, 26%, 82%)
CMYKcmyk(18.6%, 26.2%, 0%, 17.6%)
CIE-LABlab(67.09, 17.00, -25.95)
CIE-LCHlch(67.09, 31.02, 303.23°)
OKLaboklab(72.28% 0.0374 -0.0712)
OKLCHoklch(72.28% 0.08 297.7)
XYZxyz(40.1463, 36.7536, 65.9394)
Luminance0.3675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9BD2 #C2D29B
analogous
#9BA7D2 #AB9BD2 #C79BD2
triadic
#AB9BD2 #D2AB9B #9BD2AB
tetradic
#AB9BD2 #D29BA7 #C2D29B #9BD2C7
square
#AB9BD2 #D29BA7 #C2D29B #9BD2C7
split-complementary
#AB9BD2 #D2C79B #A7D29B
monochromatic
#664BA7 #8871BF #AB9BD2 #CEC5E5 #EDEAF6

Accessibility & contrast

On white

2.51
#AB9BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AB9BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9BD2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9BD2#FFFFFF#000000##000000
##AB9BD21.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA3D4
Deuteranopia (green-blind)
#91A3D0
Tritanopia (blue-blind)
#A4A3AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab9bd2;
/* rgb */ color: rgb(171, 155, 210);
/* oklch */ color: oklch(72.3% 0.080 297.7);
Tailwind
colors: {
  custom: {
    50: '#c4b8e0',
    500: '#ab9bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9bd2;
$custom-light: #c4b8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9bd2",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 210
  },
  "hsl": {
    "h": 257.455,
    "s": 37.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72284,
    "c": 0.08042,
    "h": 297.7
  },
  "luminance": 0.36754
}

Semantic roles & 50–950 ramp

primary
#AB9BD2
secondary
#E7EBDD
accent
#B1358D
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB9BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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