#AB43CA#AB43CA

#AB43CA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.212 H 317.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AB43CA
RGBrgb(171, 67, 202)
HSLhsl(286, 56%, 53%)
HSVhsv(286, 67%, 79%)
CMYKcmyk(15.3%, 66.8%, 0%, 20.8%)
CIE-LABlab(48.18, 61.74, -51.08)
CIE-LCHlch(48.18, 80.13, 320.40°)
OKLaboklab(58.02% 0.1564 -0.1432)
OKLCHoklch(58.02% 0.212 317.5)
XYZxyz(29.4609, 16.9377, 57.5831)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43CA #62CA43
analogous
#6743CA #AB43CA #CA43A6
triadic
#AB43CA #CAAB43 #43CAAB
tetradic
#AB43CA #CA6743 #62CA43 #43A6CA
square
#AB43CA #CA6743 #62CA43 #43A6CA
split-complementary
#AB43CA #A6CA43 #43CA67
monochromatic
#602072 #872EA2 #AB43CA #C073D7 #D6A2E5

Accessibility & contrast

On white

4.79
#AB43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43CA#FFFFFF#000000##FFFFFF
##AB43CA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#AA5C81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab43ca;
/* rgb */ color: rgb(171, 67, 202);
/* oklch */ color: oklch(58.0% 0.212 317.5);
Tailwind
colors: {
  custom: {
    50: '#c87fdb',
    500: '#ab43ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab43ca;
$custom-light: #c87fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43ca",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 286.222,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.21209,
    "h": 317.5
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#AB43CA
secondary
#A5D297
accent
#DF486B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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