#AB45D3#AB45D3

#AB45D3 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.218 H 314.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB45D3
RGBrgb(171, 69, 211)
HSLhsl(283, 62%, 55%)
HSVhsv(283, 67%, 83%)
CMYKcmyk(19%, 67.3%, 0%, 17.3%)
CIE-LABlab(49.03, 62.68, -54.89)
CIE-LCHlch(49.03, 83.31, 318.79°)
OKLaboklab(58.8% 0.1537 -0.1544)
OKLCHoklch(58.8% 0.218 314.9)
XYZxyz(30.6787, 17.6184, 63.4000)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB45D3 #6DD345
analogous
#6445D3 #AB45D3 #D345B4
triadic
#AB45D3 #D3AB45 #45D3AB
tetradic
#AB45D3 #D36445 #6DD345 #45B4D3
square
#AB45D3 #D36445 #6DD345 #45B4D3
split-complementary
#AB45D3 #B4D345 #45D364
monochromatic
#641E7F #8B2AB1 #AB45D3 #C176DF #D8A8EA

Accessibility & contrast

On white

4.64
#AB45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AB45D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB45D3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB45D3#FFFFFF#000000##FFFFFF
##AB45D31.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#A86187
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab45d3;
/* rgb */ color: rgb(171, 69, 211);
/* oklch */ color: oklch(58.8% 0.218 314.9);
Tailwind
colors: {
  custom: {
    50: '#c880e1',
    500: '#ab45d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab45d3;
$custom-light: #c880e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab45d3",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 283.099,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.588,
    "c": 0.2179,
    "h": 314.9
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#AB45D3
secondary
#ADD89C
accent
#E54371
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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