#AB3AB7#AB3AB7

#AB3AB7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.207 H 323.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB3AB7
RGBrgb(171, 58, 183)
HSLhsl(294, 52%, 47%)
HSVhsv(294, 68%, 72%)
CMYKcmyk(6.6%, 68.3%, 0%, 28.2%)
CIE-LABlab(45.78, 61.81, -43.88)
CIE-LCHlch(45.78, 75.80, 324.63°)
OKLaboklab(55.93% 0.1666 -0.1221)
OKLCHoklch(55.93% 0.207 323.8)
XYZxyz(26.8541, 15.1045, 46.2916)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AB7 #46B73A
analogous
#6D3AB7 #AB3AB7 #B73A85
triadic
#AB3AB7 #B7AB3A #3AB7AB
tetradic
#AB3AB7 #B76D3A #46B73A #3A85B7
square
#AB3AB7 #B76D3A #46B73A #3A85B7
split-complementary
#AB3AB7 #85B73A #3AB76D
monochromatic
#541D5A #802B89 #AB3AB7 #C361CD #D490DC

Accessibility & contrast

On white

5.22
#AB3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB3AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AB7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AB7#FFFFFF#000000##FFFFFF
##AB3AB71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BB
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#AE4F74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ab7;
/* rgb */ color: rgb(171, 58, 183);
/* oklch */ color: oklch(55.9% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#c77acd',
    500: '#ab3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ab7;
$custom-light: #c77acd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ab7",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 294.24,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.20661,
    "h": 323.8
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#AB3AB7
secondary
#8CC786
accent
#DB4C5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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