#AB3EB4#AB3EB4

#AB3EB4 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.199 H 324.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB3EB4
RGBrgb(171, 62, 180)
HSLhsl(295, 49%, 47%)
HSVhsv(295, 66%, 71%)
CMYKcmyk(5%, 65.6%, 0%, 29.4%)
CIE-LABlab(46.18, 59.68, -41.48)
CIE-LCHlch(46.18, 72.68, 325.20°)
OKLaboklab(56.17% 0.1622 -0.1152)
OKLCHoklch(56.17% 0.199 324.6)
XYZxyz(26.7548, 15.4001, 44.7345)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EB4 #47B43E
analogous
#703EB4 #AB3EB4 #B43E82
triadic
#AB3EB4 #B4AB3E #3EB4AB
tetradic
#AB3EB4 #B4703E #47B43E #3E82B4
square
#AB3EB4 #B4703E #47B43E #3E82B4
split-complementary
#AB3EB4 #82B43E #3EB470
monochromatic
#551F59 #802E86 #AB3EB4 #C265CA #D493DA

Accessibility & contrast

On white

5.15
#AB3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EB4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EB4#FFFFFF#000000##FFFFFF
##AB3EB41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#AF5074
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3eb4;
/* rgb */ color: rgb(171, 62, 180);
/* oklch */ color: oklch(56.2% 0.199 324.6);
Tailwind
colors: {
  custom: {
    50: '#c77ccb',
    500: '#ab3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eb4;
$custom-light: #c77ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eb4",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 295.424,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.19897,
    "h": 324.6
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#AB3EB4
secondary
#8DC589
accent
#D84F5A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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