#AB45C3#AB45C3

#AB45C3 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.8% C 0.203 H 319.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB45C3
RGBrgb(171, 69, 195)
HSLhsl(289, 51%, 52%)
HSVhsv(289, 65%, 76%)
CMYKcmyk(12.3%, 64.6%, 0%, 23.5%)
CIE-LABlab(48.08, 59.53, -47.20)
CIE-LCHlch(48.08, 75.97, 321.59°)
OKLaboklab(57.81% 0.1543 -0.1319)
OKLCHoklch(57.81% 0.203 319.5)
XYZxyz(28.7718, 16.8556, 53.3571)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB45C3 #5DC345
analogous
#6C45C3 #AB45C3 #C3459C
triadic
#AB45C3 #C3AB45 #45C3AB
tetradic
#AB45C3 #C36C45 #5DC345 #459CC3
square
#AB45C3 #C36C45 #5DC345 #459CC3
split-complementary
#AB45C3 #9CC345 #45C36C
monochromatic
#5D236B #863199 #AB45C3 #C073D2 #D5A2E1

Accessibility & contrast

On white

4.80
#AB45C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AB45C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB45C3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB45C3#FFFFFF#000000##FFFFFF
##AB45C31.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6BC7
Deuteranopia (green-blind)
#4E76C0
Tritanopia (blue-blind)
#AB5B7E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab45c3;
/* rgb */ color: rgb(171, 69, 195);
/* oklch */ color: oklch(57.8% 0.203 319.5);
Tailwind
colors: {
  custom: {
    50: '#c780d6',
    500: '#ab45c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab45c3;
$custom-light: #c780d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab45c3",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 288.571,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.20304,
    "h": 319.5
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#AB45C3
secondary
#A1CE96
accent
#DB4D68
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB45C3

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

Preview Lab → · Contrast checker → · Palette generator →

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