#AB3EA8#AB3EA8

#AB3EA8 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.189 H 328.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB3EA8
RGBrgb(171, 62, 168)
HSLhsl(302, 47%, 46%)
HSVhsv(302, 64%, 67%)
CMYKcmyk(0%, 63.7%, 1.8%, 32.9%)
CIE-LABlab(45.54, 57.57, -35.41)
CIE-LCHlch(45.54, 67.59, 328.41°)
OKLaboklab(55.5% 0.1617 -0.0976)
OKLCHoklch(55.5% 0.189 328.9)
XYZxyz(25.5848, 14.9321, 38.5728)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA8 #3EAB41
analogous
#773EAB #AB3EA8 #AB3E72
triadic
#AB3EA8 #A8AB3E #3EA8AB
tetradic
#AB3EA8 #AB773E #3EAB41 #3E72AB
square
#AB3EA8 #AB773E #3EAB41 #3E72AB
split-complementary
#AB3EA8 #72AB3E #3EAB77
monochromatic
#511D50 #7E2E7C #AB3EA8 #C661C3 #D68ED4

Accessibility & contrast

On white

5.27
#AB3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB3EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EA8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EA8#FFFFFF#000000##FFFFFF
##AB3EA81.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AB
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#B14B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ea8;
/* rgb */ color: rgb(171, 62, 168);
/* oklch */ color: oklch(55.5% 0.189 328.9);
Tailwind
colors: {
  custom: {
    50: '#c77bc2',
    500: '#ab3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea8;
$custom-light: #c77bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea8",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 301.651,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.555,
    "c": 0.18885,
    "h": 328.9
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#AB3EA8
secondary
#84C186
accent
#D65551
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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