#AB23B0#AB23B0

#AB23B0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.225 H 326.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB23B0
RGBrgb(171, 35, 176)
HSLhsl(298, 67%, 41%)
HSVhsv(298, 80%, 69%)
CMYKcmyk(2.8%, 80.1%, 0%, 31%)
CIE-LABlab(42.76, 68.08, -44.56)
CIE-LCHlch(42.76, 81.37, 326.79°)
OKLaboklab(53.65% 0.1876 -0.124)
OKLCHoklch(53.65% 0.225 326.5)
XYZxyz(25.2316, 12.9964, 42.2455)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB23B0 #28B023
analogous
#6523B0 #AB23B0 #B0236F
triadic
#AB23B0 #B0AB23 #23B0AB
tetradic
#AB23B0 #B06523 #28B023 #236FB0
square
#AB23B0 #B06523 #28B023 #236FB0
split-complementary
#AB23B0 #6FB023 #23B065
monochromatic
#480F4A #79197D #AB23B0 #D239D8 #DE6CE2

Accessibility & contrast

On white

5.83
#AB23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB23B0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB23B0#FFFFFF#000000##FFFFFF
##AB23B01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#B03E6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab23b0;
/* rgb */ color: rgb(171, 35, 176);
/* oklch */ color: oklch(53.6% 0.225 326.5);
Tailwind
colors: {
  custom: {
    50: '#c870c8',
    500: '#ab23b0',
    950: '#000000',
  },
}
SCSS
$custom: #ab23b0;
$custom-light: #c870c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab23b0",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 297.872,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53647,
    "c": 0.22484,
    "h": 326.5
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#AB23B0
secondary
#6AC867
accent
#EA3E44
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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