#AB2EE3#AB2EE3

#AB2EE3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.8% C 0.256 H 312.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB2EE3
RGBrgb(171, 46, 227)
HSLhsl(281, 76%, 54%)
HSVhsv(281, 80%, 89%)
CMYKcmyk(24.7%, 79.7%, 0%, 11%)
CIE-LABlab(47.18, 74.17, -66.99)
CIE-LCHlch(47.18, 99.94, 317.91°)
OKLaboklab(57.83% 0.1721 -0.1898)
OKLCHoklch(57.83% 0.256 312.2)
XYZxyz(31.6341, 16.1589, 74.1107)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EE3 #66E32E
analogous
#502EE3 #AB2EE3 #E32EC1
triadic
#AB2EE3 #E3AB2E #2EE3AB
tetradic
#AB2EE3 #E3502E #66E32E #2EC1E3
square
#AB2EE3 #E3502E #66E32E #2EC1E3
split-complementary
#AB2EE3 #C1E32E #2EE350
monochromatic
#611285 #8919BB #AB2EE3 #C164EA #D69AF1

Accessibility & contrast

On white

4.96
#AB2EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AB2EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EE3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EE3#FFFFFF#000000##FFFFFF
##AB2EE31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#A45C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab2ee3;
/* rgb */ color: rgb(171, 46, 227);
/* oklch */ color: oklch(57.8% 0.256 312.2);
Tailwind
colors: {
  custom: {
    50: '#ca76ed',
    500: '#ab2ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ee3;
$custom-light: #ca76ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ee3",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 281.436,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.25622,
    "h": 312.2
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#AB2EE3
secondary
#A8DD90
accent
#F33570
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AB2EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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