#AB3EB2#AB3EB2

#AB3EB2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.1% C 0.197 H 325.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB3EB2
RGBrgb(171, 62, 178)
HSLhsl(296, 48%, 47%)
HSVhsv(296, 65%, 70%)
CMYKcmyk(3.9%, 65.2%, 0%, 30.2%)
CIE-LABlab(46.07, 59.32, -40.48)
CIE-LCHlch(46.07, 71.82, 325.69°)
OKLaboklab(56.05% 0.1622 -0.1123)
OKLCHoklch(56.05% 0.197 325.3)
XYZxyz(26.5525, 15.3192, 43.6692)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EB2 #45B23E
analogous
#713EB2 #AB3EB2 #B23E7F
triadic
#AB3EB2 #B2AB3E #3EB2AB
tetradic
#AB3EB2 #B2713E #45B23E #3E7FB2
square
#AB3EB2 #B2713E #45B23E #3E7FB2
split-complementary
#AB3EB2 #7FB23E #3EB271
monochromatic
#541E57 #7F2E85 #AB3EB2 #C364C9 #D592D9

Accessibility & contrast

On white

5.17
#AB3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB3EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EB2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EB2#FFFFFF#000000##FFFFFF
##AB3EB21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#AF4F73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3eb2;
/* rgb */ color: rgb(171, 62, 178);
/* oklch */ color: oklch(56.1% 0.197 325.3);
Tailwind
colors: {
  custom: {
    50: '#c77cc9',
    500: '#ab3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eb2;
$custom-light: #c77cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eb2",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 296.379,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56053,
    "c": 0.19725,
    "h": 325.3
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#AB3EB2
secondary
#8BC488
accent
#D85058
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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