#AB2EBF#AB2EBF

#AB2EBF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.227 H 321.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB2EBF
RGBrgb(171, 46, 191)
HSLhsl(292, 61%, 46%)
HSVhsv(292, 76%, 75%)
CMYKcmyk(10.5%, 75.9%, 0%, 25.1%)
CIE-LABlab(44.77, 67.47, -50.17)
CIE-LCHlch(44.77, 84.08, 323.37°)
OKLaboklab(55.36% 0.1777 -0.1404)
OKLCHoklch(55.36% 0.227 321.7)
XYZxyz(27.1745, 14.3750, 50.6234)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EBF #42BF2E
analogous
#632EBF #AB2EBF #BF2E8B
triadic
#AB2EBF #BFAB2E #2EBFAB
tetradic
#AB2EBF #BF632E #42BF2E #2E8BBF
square
#AB2EBF #BF632E #42BF2E #2E8BBF
split-complementary
#AB2EBF #8BBF2E #2EBF63
monochromatic
#53165C #7F228E #AB2EBF #C454D6 #D586E2

Accessibility & contrast

On white

5.42
#AB2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB2EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EBF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EBF#FFFFFF#000000##FFFFFF
##AB2EBF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#426EBC
Tritanopia (blue-blind)
#AD4B75
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab2ebf;
/* rgb */ color: rgb(171, 46, 191);
/* oklch */ color: oklch(55.4% 0.227 321.7);
Tailwind
colors: {
  custom: {
    50: '#c875d3',
    500: '#ab2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ebf;
$custom-light: #c875d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ebf",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 291.724,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.22652,
    "h": 321.7
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#AB2EBF
secondary
#88CB7E
accent
#E4445A
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AB2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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