#AB8FAC#AB8FAC

#AB8FAC is a light, muted purple. Relative luminance 0.313; OKLCH L 68.5% C 0.053 H 325.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AB8FAC
RGBrgb(171, 143, 172)
HSLhsl(298, 15%, 62%)
HSVhsv(298, 17%, 67%)
CMYKcmyk(0.6%, 16.9%, 0%, 32.5%)
CIE-LABlab(62.74, 15.74, -11.27)
CIE-LCHlch(62.74, 19.35, 324.39°)
OKLaboklab(68.49% 0.0432 -0.0302)
OKLCHoklch(68.49% 0.053 325.1)
XYZxyz(34.0625, 31.2820, 43.2654)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FAC #90AC8F
analogous
#9D8FAC #AB8FAC #AC8F9F
triadic
#AB8FAC #ACAB8F #8FACAB
tetradic
#AB8FAC #AC9D8F #90AC8F #8F9FAC
square
#AB8FAC #AC9D8F #90AC8F #8F9FAC
split-complementary
#AB8FAC #9FAC8F #8FAC9D
monochromatic
#6E526F #906C92 #AB8FAC #C5B2C6 #E0D5E0

Accessibility & contrast

On white

2.89
#AB8FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AB8FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FAC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FAC#FFFFFF#000000##000000
##AB8FAC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D96AD
Deuteranopia (green-blind)
#9399AB
Tritanopia (blue-blind)
#AD9199
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab8fac;
/* rgb */ color: rgb(171, 143, 172);
/* oklch */ color: oklch(68.5% 0.053 325.1);
Tailwind
colors: {
  custom: {
    50: '#c4b0c4',
    500: '#ab8fac',
    950: '#000000',
  },
}
SCSS
$custom: #ab8fac;
$custom-light: #c4b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8fac",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 297.931,
    "s": 14.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68489,
    "c": 0.05268,
    "h": 325.1
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

primary
#AB8FAC
secondary
#C6D1C6
accent
#994C4F
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#121012
muted
#817F81

Preview Lab

Preview with #AB8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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