#AB3CB1#AB3CB1

#AB3CB1 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.199 H 325.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB3CB1
RGBrgb(171, 60, 177)
HSLhsl(297, 49%, 46%)
HSVhsv(297, 66%, 69%)
CMYKcmyk(3.4%, 66.1%, 0%, 30.6%)
CIE-LABlab(45.72, 59.96, -40.44)
CIE-LCHlch(45.72, 72.32, 326.00°)
OKLaboklab(55.79% 0.1644 -0.1122)
OKLCHoklch(55.79% 0.199 325.7)
XYZxyz(26.3457, 15.0656, 43.1067)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CB1 #42B13C
analogous
#713CB1 #AB3CB1 #B13C7D
triadic
#AB3CB1 #B1AB3C #3CB1AB
tetradic
#AB3CB1 #B1713C #42B13C #3C7DB1
square
#AB3CB1 #B1713C #42B13C #3C7DB1
split-complementary
#AB3CB1 #7DB13C #3CB171
monochromatic
#531D56 #7F2D83 #AB3CB1 #C461C9 #D58FD9

Accessibility & contrast

On white

5.23
#AB3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AB3CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CB1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CB1#FFFFFF#000000##FFFFFF
##AB3CB11.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B4
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#AF4D72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3cb1;
/* rgb */ color: rgb(171, 60, 177);
/* oklch */ color: oklch(55.8% 0.199 325.7);
Tailwind
colors: {
  custom: {
    50: '#c77ac9',
    500: '#ab3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cb1;
$custom-light: #c77ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cb1",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 296.923,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.19902,
    "h": 325.7
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#AB3CB1
secondary
#88C485
accent
#D94F56
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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