#AB2AE3#AB2AE3

#AB2AE3 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.6% C 0.259 H 312.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB2AE3
RGBrgb(171, 42, 227)
HSLhsl(282, 77%, 53%)
HSVhsv(282, 81%, 89%)
CMYKcmyk(24.7%, 81.5%, 0%, 11%)
CIE-LABlab(46.79, 75.31, -67.63)
CIE-LCHlch(46.79, 101.22, 318.08°)
OKLaboklab(57.56% 0.1749 -0.1916)
OKLCHoklch(57.56% 0.259 312.4)
XYZxyz(31.4851, 15.8608, 74.0610)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2AE3 #62E32A
analogous
#4F2AE3 #AB2AE3 #E32ABE
triadic
#AB2AE3 #E3AB2A #2AE3AB
tetradic
#AB2AE3 #E34F2A #62E32A #2ABEE3
square
#AB2AE3 #E34F2A #62E32A #2ABEE3
split-complementary
#AB2AE3 #BEE32A #2AE34F
monochromatic
#601182 #8718B8 #AB2AE3 #C060EA #D696F1

Accessibility & contrast

On white

5.03
#AB2AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB2AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2AE3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2AE3#FFFFFF#000000##FFFFFF
##AB2AE31.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E8
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#A45A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab2ae3;
/* rgb */ color: rgb(171, 42, 227);
/* oklch */ color: oklch(57.6% 0.259 312.4);
Tailwind
colors: {
  custom: {
    50: '#ca75ed',
    500: '#ab2ae3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ae3;
$custom-light: #ca75ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ae3",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 227
  },
  "hsl": {
    "h": 281.838,
    "s": 76.763,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.25943,
    "h": 312.4
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#AB2AE3
secondary
#A5DC8C
accent
#F3346E
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AB2AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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