#AB23AE#AB23AE

#AB23AE is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.223 H 327.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB23AE
RGBrgb(171, 35, 174)
HSLhsl(299, 67%, 41%)
HSVhsv(299, 80%, 68%)
CMYKcmyk(1.7%, 79.9%, 0%, 31.8%)
CIE-LABlab(42.64, 67.75, -43.57)
CIE-LCHlch(42.64, 80.55, 327.26°)
OKLaboklab(53.53% 0.1877 -0.1211)
OKLCHoklch(53.53% 0.223 327.2)
XYZxyz(25.0352, 12.9178, 41.2110)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB23AE #26AE23
analogous
#6523AE #AB23AE #AE236B
triadic
#AB23AE #AEAB23 #23AEAB
tetradic
#AB23AE #AE6523 #26AE23 #236BAE
square
#AB23AE #AE6523 #26AE23 #236BAE
split-complementary
#AB23AE #6BAE23 #23AE65
monochromatic
#470F48 #79197B #AB23AE #D337D7 #DF6AE1

Accessibility & contrast

On white

5.86
#AB23AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB23AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB23AE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB23AE#FFFFFF#000000##FFFFFF
##AB23AE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4A6AAB
Tritanopia (blue-blind)
#B03D69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab23ae;
/* rgb */ color: rgb(171, 35, 174);
/* oklch */ color: oklch(53.5% 0.223 327.2);
Tailwind
colors: {
  custom: {
    50: '#c870c7',
    500: '#ab23ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab23ae;
$custom-light: #c870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab23ae",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 298.705,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.22336,
    "h": 327.2
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#AB23AE
secondary
#68C766
accent
#E93E42
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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