#AB3EB3#AB3EB3

#AB3EB3 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.198 H 325.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB3EB3
RGBrgb(171, 62, 179)
HSLhsl(296, 49%, 47%)
HSVhsv(296, 65%, 70%)
CMYKcmyk(4.5%, 65.4%, 0%, 29.8%)
CIE-LABlab(46.12, 59.50, -40.98)
CIE-LCHlch(46.12, 72.25, 325.44°)
OKLaboklab(56.11% 0.1622 -0.1137)
OKLCHoklch(56.11% 0.198 325)
XYZxyz(26.6533, 15.3595, 44.1999)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EB3 #46B33E
analogous
#703EB3 #AB3EB3 #B33E81
triadic
#AB3EB3 #B3AB3E #3EB3AB
tetradic
#AB3EB3 #B3703E #46B33E #3E81B3
square
#AB3EB3 #B3703E #46B33E #3E81B3
split-complementary
#AB3EB3 #81B33E #3EB370
monochromatic
#541F58 #802E86 #AB3EB3 #C365CA #D492D9

Accessibility & contrast

On white

5.16
#AB3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EB3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EB3#FFFFFF#000000##FFFFFF
##AB3EB31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#AF5073
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3eb3;
/* rgb */ color: rgb(171, 62, 179);
/* oklch */ color: oklch(56.1% 0.198 325.0);
Tailwind
colors: {
  custom: {
    50: '#c77cca',
    500: '#ab3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eb3;
$custom-light: #c77cca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eb3",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 295.897,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.19811,
    "h": 325
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#AB3EB3
secondary
#8CC588
accent
#D85059
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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