#AB3EB7#AB3EB7

#AB3EB7 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.3% C 0.202 H 323.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB3EB7
RGBrgb(171, 62, 183)
HSLhsl(294, 49%, 48%)
HSVhsv(294, 66%, 72%)
CMYKcmyk(6.6%, 66.1%, 0%, 28.2%)
CIE-LABlab(46.34, 60.22, -42.97)
CIE-LCHlch(46.34, 73.98, 324.49°)
OKLaboklab(56.34% 0.1623 -0.1196)
OKLCHoklch(56.34% 0.202 323.6)
XYZxyz(27.0637, 15.5236, 46.3614)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EB7 #4AB73E
analogous
#6F3EB7 #AB3EB7 #B73E86
triadic
#AB3EB7 #B7AB3E #3EB7AB
tetradic
#AB3EB7 #B76F3E #4AB73E #3E86B7
square
#AB3EB7 #B76F3E #4AB73E #3E86B7
split-complementary
#AB3EB7 #86B73E #3EB76F
monochromatic
#561F5C #802F89 #AB3EB7 #C167CB #D494DB

Accessibility & contrast

On white

5.12
#AB3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EB7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EB7#FFFFFF#000000##FFFFFF
##AB3EB71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265BB
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#AE5175
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3eb7;
/* rgb */ color: rgb(171, 62, 183);
/* oklch */ color: oklch(56.3% 0.202 323.6);
Tailwind
colors: {
  custom: {
    50: '#c77ccd',
    500: '#ab3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eb7;
$custom-light: #c77ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eb7",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 294.05,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.20156,
    "h": 323.6
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#AB3EB7
secondary
#90C68A
accent
#D94F5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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