#AB8ABC#AB8ABC

#AB8ABC is a light, moderate violet. Relative luminance 0.305; OKLCH L 68.1% C 0.081 H 314.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AB8ABC
RGBrgb(171, 138, 188)
HSLhsl(280, 27%, 64%)
HSVhsv(280, 27%, 74%)
CMYKcmyk(9%, 26.6%, 0%, 26.3%)
CIE-LABlab(62.05, 21.80, -21.36)
CIE-LCHlch(62.05, 30.52, 315.59°)
OKLaboklab(68.14% 0.0561 -0.0581)
OKLCHoklch(68.14% 0.081 314)
XYZxyz(34.9587, 30.4662, 51.6062)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8ABC #9BBC8A
analogous
#928ABC #AB8ABC #BC8AB4
triadic
#AB8ABC #BCAB8A #8ABCAB
tetradic
#AB8ABC #BC928A #9BBC8A #8AB4BC
square
#AB8ABC #BC928A #9BBC8A #8AB4BC
split-complementary
#AB8ABC #B4BC8A #8ABC92
monochromatic
#6F4A81 #8F63A6 #AB8ABC #C7B1D2 #E3D8E9

Accessibility & contrast

On white

2.96
#AB8ABC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AB8ABC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8ABC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8ABC#FFFFFF#000000##000000
##AB8ABC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#8A97BA
Tritanopia (blue-blind)
#AA909C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab8abc;
/* rgb */ color: rgb(171, 138, 188);
/* oklch */ color: oklch(68.1% 0.081 314.0);
Tailwind
colors: {
  custom: {
    50: '#c4acd0',
    500: '#ab8abc',
    950: '#000000',
  },
}
SCSS
$custom: #ab8abc;
$custom-light: #c4acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8abc",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 279.6,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6814,
    "c": 0.0808,
    "h": 314
  },
  "luminance": 0.30466
}

Semantic roles & 50–950 ramp

primary
#AB8ABC
secondary
#CEDAC8
accent
#A64062
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AB8ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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