#AB46AA#AB46AA

#AB46AA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.179 H 328.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB46AA
RGBrgb(171, 70, 170)
HSLhsl(301, 42%, 47%)
HSVhsv(301, 59%, 67%)
CMYKcmyk(0%, 59.1%, 0.6%, 32.9%)
CIE-LABlab(46.90, 54.46, -34.46)
CIE-LCHlch(46.90, 64.44, 327.68°)
OKLaboklab(56.52% 0.152 -0.0949)
OKLCHoklch(56.52% 0.179 328)
XYZxyz(26.2401, 15.9422, 39.7175)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46AA #46AB47
analogous
#7A46AB #AB46AA #AB4678
triadic
#AB46AA #AAAB46 #46AAAB
tetradic
#AB46AA #AB7A46 #46AB47 #4678AB
square
#AB46AA #AB7A46 #46AB47 #4678AB
split-complementary
#AB46AA #78AB46 #46AB7A
monochromatic
#542254 #80347F #AB46AA #C36CC2 #D497D4

Accessibility & contrast

On white

5.01
#AB46AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AB46AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46AA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46AA#FFFFFF#000000##FFFFFF
##AB46AA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#B05271
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab46aa;
/* rgb */ color: rgb(171, 70, 170);
/* oklch */ color: oklch(56.5% 0.179 328.0);
Tailwind
colors: {
  custom: {
    50: '#c780c3',
    500: '#ab46aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab46aa;
$custom-light: #c780c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46aa",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 300.594,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5652,
    "c": 0.17921,
    "h": 328
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#AB46AA
secondary
#8CC08D
accent
#D25756
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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