#AB43BA#AB43BA

#AB43BA is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.1% C 0.198 H 322.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB43BA
RGBrgb(171, 67, 186)
HSLhsl(292, 47%, 50%)
HSVhsv(292, 64%, 73%)
CMYKcmyk(8.1%, 64%, 0%, 27.1%)
CIE-LABlab(47.26, 58.68, -43.27)
CIE-LCHlch(47.26, 72.91, 323.60°)
OKLaboklab(57.06% 0.1566 -0.1204)
OKLCHoklch(57.06% 0.198 322.4)
XYZxyz(27.6638, 16.2189, 48.1183)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43BA #52BA43
analogous
#7043BA #AB43BA #BA438E
triadic
#AB43BA #BAAB43 #43BAAB
tetradic
#AB43BA #BA7043 #52BA43 #438EBA
square
#AB43BA #BA7043 #52BA43 #438EBA
split-complementary
#AB43BA #8EBA43 #43BA70
monochromatic
#582360 #82338D #AB43BA #C06FCB #D39CDB

Accessibility & contrast

On white

4.95
#AB43BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AB43BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43BA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43BA#FFFFFF#000000##FFFFFF
##AB43BA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BE
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#AD5679
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab43ba;
/* rgb */ color: rgb(171, 67, 186);
/* oklch */ color: oklch(57.1% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#c77ecf',
    500: '#ab43ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab43ba;
$custom-light: #c77ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43ba",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 292.437,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.19756,
    "h": 322.4
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#AB43BA
secondary
#98C891
accent
#D75162
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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