#AB3CAF#AB3CAF

#AB3CAF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.7% C 0.197 H 326.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB3CAF
RGBrgb(171, 60, 175)
HSLhsl(298, 49%, 46%)
HSVhsv(298, 66%, 69%)
CMYKcmyk(2.3%, 65.7%, 0%, 31.4%)
CIE-LABlab(45.62, 59.60, -39.43)
CIE-LCHlch(45.62, 71.47, 326.51°)
OKLaboklab(55.67% 0.1643 -0.1092)
OKLCHoklch(55.67% 0.197 326.4)
XYZxyz(26.1478, 14.9865, 42.0646)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CAF #40AF3C
analogous
#713CAF #AB3CAF #AF3C79
triadic
#AB3CAF #AFAB3C #3CAFAB
tetradic
#AB3CAF #AF713C #40AF3C #3C79AF
square
#AB3CAF #AF713C #40AF3C #3C79AF
split-complementary
#AB3CAF #79AF3C #3CAF71
monochromatic
#521D54 #7E2C81 #AB3CAF #C560C8 #D58DD8

Accessibility & contrast

On white

5.25
#AB3CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB3CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CAF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CAF#FFFFFF#000000##FFFFFF
##AB3CAF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#AF4D70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3caf;
/* rgb */ color: rgb(171, 60, 175);
/* oklch */ color: oklch(55.7% 0.197 326.4);
Tailwind
colors: {
  custom: {
    50: '#c77ac7',
    500: '#ab3caf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3caf;
$custom-light: #c77ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3caf",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 297.913,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.19733,
    "h": 326.4
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#AB3CAF
secondary
#86C384
accent
#D84F54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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