#AB3EB8#AB3EB8

#AB3EB8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.202 H 323.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AB3EB8
RGBrgb(171, 62, 184)
HSLhsl(294, 50%, 48%)
HSVhsv(294, 66%, 72%)
CMYKcmyk(7.1%, 66.3%, 0%, 27.8%)
CIE-LABlab(46.40, 60.40, -43.47)
CIE-LCHlch(46.40, 74.42, 324.26°)
OKLaboklab(56.4% 0.1623 -0.121)
OKLCHoklch(56.4% 0.202 323.3)
XYZxyz(27.1681, 15.5654, 46.9115)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EB8 #4BB83E
analogous
#6E3EB8 #AB3EB8 #B83E88
triadic
#AB3EB8 #B8AB3E #3EB8AB
tetradic
#AB3EB8 #B86E3E #4BB83E #3E88B8
square
#AB3EB8 #B86E3E #4BB83E #3E88B8
split-complementary
#AB3EB8 #88B83E #3EB86E
monochromatic
#561F5C #802F8A #AB3EB8 #C167CC #D495DB

Accessibility & contrast

On white

5.11
#AB3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AB3EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EB8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EB8#FFFFFF#000000##FFFFFF
##AB3EB81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#5172B5
Tritanopia (blue-blind)
#AE5276
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3eb8;
/* rgb */ color: rgb(171, 62, 184);
/* oklch */ color: oklch(56.4% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#c77cce',
    500: '#ab3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eb8;
$custom-light: #c77cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eb8",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 293.607,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.20242,
    "h": 323.3
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#AB3EB8
secondary
#91C78B
accent
#D94F5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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