#AB3EAF#AB3EAF

#AB3EAF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.195 H 326.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB3EAF
RGBrgb(171, 62, 175)
HSLhsl(298, 48%, 46%)
HSVhsv(298, 65%, 69%)
CMYKcmyk(2.3%, 64.6%, 0%, 31.4%)
CIE-LABlab(45.91, 58.79, -38.97)
CIE-LCHlch(45.91, 70.53, 326.46°)
OKLaboklab(55.88% 0.1621 -0.1079)
OKLCHoklch(55.88% 0.195 326.3)
XYZxyz(26.2546, 15.2000, 42.1002)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EAF #42AF3E
analogous
#733EAF #AB3EAF #AF3E7B
triadic
#AB3EAF #AFAB3E #3EAFAB
tetradic
#AB3EAF #AF733E #42AF3E #3E7BAF
square
#AB3EAF #AF733E #42AF3E #3E7BAF
split-complementary
#AB3EAF #7BAF3E #3EAF73
monochromatic
#531E55 #7F2E82 #AB3EAF #C463C8 #D590D8

Accessibility & contrast

On white

5.20
#AB3EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB3EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EAF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EAF#FFFFFF#000000##FFFFFF
##AB3EAF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#5672AC
Tritanopia (blue-blind)
#AF4E71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3eaf;
/* rgb */ color: rgb(171, 62, 175);
/* oklch */ color: oklch(55.9% 0.195 326.3);
Tailwind
colors: {
  custom: {
    50: '#c77bc7',
    500: '#ab3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eaf;
$custom-light: #c77bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eaf",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 297.876,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55884,
    "c": 0.1947,
    "h": 326.3
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#AB3EAF
secondary
#88C386
accent
#D75155
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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