#AB6FAC#AB6FAC

#AB6FAC is a light, moderate purple. Relative luminance 0.230; OKLCH L 62.6% C 0.112 H 326.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB6FAC
RGBrgb(171, 111, 172)
HSLhsl(299, 27%, 55%)
HSVhsv(299, 35%, 67%)
CMYKcmyk(0.6%, 35.5%, 0%, 32.5%)
CIE-LABlab(55.08, 33.77, -22.91)
CIE-LCHlch(55.08, 40.81, 325.85°)
OKLaboklab(62.63% 0.0932 -0.0623)
OKLCHoklch(62.63% 0.112 326.3)
XYZxyz(29.9248, 23.0065, 41.8861)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FAC #70AC6F
analogous
#8C6FAC #AB6FAC #AC6F8E
triadic
#AB6FAC #ACAB6F #6FACAB
tetradic
#AB6FAC #AC8C6F #70AC6F #6F8EAC
square
#AB6FAC #AC8C6F #70AC6F #6F8EAC
split-complementary
#AB6FAC #8EAC6F #6FAC8C
monochromatic
#653B66 #8C518D #AB6FAC #C296C2 #D8BDD9

Accessibility & contrast

On white

3.75
#AB6FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AB6FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FAC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FAC#FFFFFF#000000##000000
##AB6FAC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#7987AA
Tritanopia (blue-blind)
#AE7586
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab6fac;
/* rgb */ color: rgb(171, 111, 172);
/* oklch */ color: oklch(62.6% 0.112 326.3);
Tailwind
colors: {
  custom: {
    50: '#c599c5',
    500: '#ab6fac',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fac;
$custom-light: #c599c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fac",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 299.016,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62628,
    "c": 0.11212,
    "h": 326.3
  },
  "luminance": 0.23005
}

Semantic roles & 50–950 ramp

primary
#AB6FAC
secondary
#AFC8AF
accent
#C36566
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #AB6FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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