#AB43B1#AB43B1

#AB43B1 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.190 H 325.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB43B1
RGBrgb(171, 67, 177)
HSLhsl(297, 45%, 48%)
HSVhsv(297, 62%, 69%)
CMYKcmyk(3.4%, 62.1%, 0%, 30.6%)
CIE-LABlab(46.77, 57.03, -38.77)
CIE-LCHlch(46.77, 68.96, 325.79°)
OKLaboklab(56.55% 0.1563 -0.1074)
OKLCHoklch(56.55% 0.19 325.5)
XYZxyz(26.7370, 15.8482, 43.2372)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43B1 #49B143
analogous
#7443B1 #AB43B1 #B14380
triadic
#AB43B1 #B1AB43 #43B1AB
tetradic
#AB43B1 #B17443 #49B143 #4380B1
square
#AB43B1 #B17443 #49B143 #4380B1
split-complementary
#AB43B1 #80B143 #43B174
monochromatic
#552158 #803285 #AB43B1 #C26AC7 #D497D8

Accessibility & contrast

On white

5.04
#AB43B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB43B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43B1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43B1#FFFFFF#000000##FFFFFF
##AB43B11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B4
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#AF5274
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab43b1;
/* rgb */ color: rgb(171, 67, 177);
/* oklch */ color: oklch(56.5% 0.190 325.5);
Tailwind
colors: {
  custom: {
    50: '#c77ec9',
    500: '#ab43b1',
    950: '#000000',
  },
}
SCSS
$custom: #ab43b1;
$custom-light: #c77ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43b1",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 296.727,
    "s": 45.082,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56547,
    "c": 0.1896,
    "h": 325.5
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#AB43B1
secondary
#8FC38C
accent
#D5535A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB43B1

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

Preview Lab → · Contrast checker → · Palette generator →

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