#AB3AB3#AB3AB3

#AB3AB3 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.203 H 325.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB3AB3
RGBrgb(171, 58, 179)
HSLhsl(296, 51%, 46%)
HSVhsv(296, 68%, 70%)
CMYKcmyk(4.5%, 67.6%, 0%, 29.8%)
CIE-LABlab(45.55, 61.10, -41.88)
CIE-LCHlch(45.55, 74.08, 325.57°)
OKLaboklab(55.7% 0.1666 -0.1163)
OKLCHoklch(55.7% 0.203 325.1)
XYZxyz(26.4437, 14.9404, 44.1300)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AB3 #42B33A
analogous
#6F3AB3 #AB3AB3 #B33A7F
triadic
#AB3AB3 #B3AB3A #3AB3AB
tetradic
#AB3AB3 #B36F3A #42B33A #3A7FB3
square
#AB3AB3 #B36F3A #42B33A #3A7FB3
split-complementary
#AB3AB3 #7FB33A #3AB36F
monochromatic
#531C57 #7F2B85 #AB3AB3 #C45FCB #D58DDA

Accessibility & contrast

On white

5.27
#AB3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB3AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AB3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AB3#FFFFFF#000000##FFFFFF
##AB3AB31.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B6
Deuteranopia (green-blind)
#5171B0
Tritanopia (blue-blind)
#AF4D72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ab3;
/* rgb */ color: rgb(171, 58, 179);
/* oklch */ color: oklch(55.7% 0.203 325.1);
Tailwind
colors: {
  custom: {
    50: '#c77aca',
    500: '#ab3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ab3;
$custom-light: #c77aca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ab3",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 296.033,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.20323,
    "h": 325.1
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#AB3AB3
secondary
#88C584
accent
#DB4D57
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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