#AB43B2#AB43B2

#AB43B2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.190 H 325.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB43B2
RGBrgb(171, 67, 178)
HSLhsl(296, 45%, 48%)
HSVhsv(296, 62%, 70%)
CMYKcmyk(3.9%, 62.4%, 0%, 30.2%)
CIE-LABlab(46.83, 57.21, -39.28)
CIE-LCHlch(46.83, 69.40, 325.53°)
OKLaboklab(56.6% 0.1563 -0.1088)
OKLCHoklch(56.6% 0.19 325.2)
XYZxyz(26.8370, 15.8882, 43.7640)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43B2 #4AB243
analogous
#7343B2 #AB43B2 #B24381
triadic
#AB43B2 #B2AB43 #43B2AB
tetradic
#AB43B2 #B27343 #4AB243 #4381B2
square
#AB43B2 #B27343 #4AB243 #4381B2
split-complementary
#AB43B2 #81B243 #43B273
monochromatic
#562259 #803286 #AB43B2 #C16BC7 #D497D8

Accessibility & contrast

On white

5.03
#AB43B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB43B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43B2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43B2#FFFFFF#000000##FFFFFF
##AB43B21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#AF5374
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab43b2;
/* rgb */ color: rgb(171, 67, 178);
/* oklch */ color: oklch(56.6% 0.190 325.2);
Tailwind
colors: {
  custom: {
    50: '#c77ec9',
    500: '#ab43b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab43b2;
$custom-light: #c77ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43b2",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 296.216,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.19048,
    "h": 325.2
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#AB43B2
secondary
#90C48D
accent
#D5535B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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