#AB3ABA#AB3ABA

#AB3ABA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.209 H 322.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AB3ABA
RGBrgb(171, 58, 186)
HSLhsl(293, 52%, 48%)
HSVhsv(293, 69%, 73%)
CMYKcmyk(8.1%, 68.8%, 0%, 27.1%)
CIE-LABlab(45.95, 62.35, -45.36)
CIE-LCHlch(45.95, 77.10, 323.97°)
OKLaboklab(56.11% 0.1666 -0.1265)
OKLCHoklch(56.11% 0.209 322.8)
XYZxyz(27.1697, 15.2307, 47.9536)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ABA #49BA3A
analogous
#6B3ABA #AB3ABA #BA3A89
triadic
#AB3ABA #BAAB3A #3ABAAB
tetradic
#AB3ABA #BA6B3A #49BA3A #3A89BA
square
#AB3ABA #BA6B3A #49BA3A #3A89BA
split-complementary
#AB3ABA #89BA3A #3ABA6B
monochromatic
#551D5D #802B8B #AB3ABA #C263CE #D492DD

Accessibility & contrast

On white

5.19
#AB3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ABA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ABA#FFFFFF#000000##FFFFFF
##AB3ABA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#AD5076
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3aba;
/* rgb */ color: rgb(171, 58, 186);
/* oklch */ color: oklch(56.1% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#c87acf',
    500: '#ab3aba',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aba;
$custom-light: #c87acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aba",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 292.969,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.20915,
    "h": 322.8
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#AB3ABA
secondary
#8FC888
accent
#DC4C5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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