#AB3AAF#AB3AAF

#AB3AAF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.5% C 0.200 H 326.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB3AAF
RGBrgb(171, 58, 175)
HSLhsl(298, 50%, 46%)
HSVhsv(298, 67%, 69%)
CMYKcmyk(2.3%, 66.9%, 0%, 31.4%)
CIE-LABlab(45.33, 60.40, -39.88)
CIE-LCHlch(45.33, 72.37, 326.57°)
OKLaboklab(55.47% 0.1666 -0.1105)
OKLCHoklch(55.47% 0.2 326.4)
XYZxyz(26.0450, 14.7809, 42.0303)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AAF #3EAF3A
analogous
#703AAF #AB3AAF #AF3A78
triadic
#AB3AAF #AFAB3A #3AAFAB
tetradic
#AB3AAF #AF703A #3EAF3A #3A78AF
square
#AB3AAF #AF703A #3EAF3A #3A78AF
split-complementary
#AB3AAF #78AF3A #3AAF70
monochromatic
#511C53 #7E2B81 #AB3AAF #C65DC9 #D68BD9

Accessibility & contrast

On white

5.31
#AB3AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB3AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AAF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AAF#FFFFFF#000000##FFFFFF
##AB3AAF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#AF4B70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3aaf;
/* rgb */ color: rgb(171, 58, 175);
/* oklch */ color: oklch(55.5% 0.200 326.4);
Tailwind
colors: {
  custom: {
    50: '#c779c7',
    500: '#ab3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aaf;
$custom-light: #c779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aaf",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 297.949,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.19989,
    "h": 326.4
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#AB3AAF
secondary
#84C382
accent
#DA4E53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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