#AB3CB2#AB3CB2

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

Color values

HEX#AB3CB2
RGBrgb(171, 60, 178)
HSLhsl(296, 50%, 47%)
HSVhsv(296, 66%, 70%)
CMYKcmyk(3.9%, 66.3%, 0%, 30.2%)
CIE-LABlab(45.78, 60.13, -40.94)
CIE-LCHlch(45.78, 72.74, 325.75°)
OKLaboklab(55.84% 0.1644 -0.1136)
OKLCHoklch(55.84% 0.2 325.4)
XYZxyz(26.4457, 15.1056, 43.6336)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CB2 #43B23C
analogous
#703CB2 #AB3CB2 #B23C7E
triadic
#AB3CB2 #B2AB3C #3CB2AB
tetradic
#AB3CB2 #B2703C #43B23C #3C7EB2
square
#AB3CB2 #B2703C #43B23C #3C7EB2
split-complementary
#AB3CB2 #7EB23C #3CB270
monochromatic
#531D56 #7F2D84 #AB3CB2 #C461CA #D58FD9

Accessibility & contrast

On white

5.22
#AB3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CB2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CB2#FFFFFF#000000##FFFFFF
##AB3CB21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#AF4E72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3cb2;
/* rgb */ color: rgb(171, 60, 178);
/* oklch */ color: oklch(55.8% 0.200 325.4);
Tailwind
colors: {
  custom: {
    50: '#c77ac9',
    500: '#ab3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cb2;
$custom-light: #c77ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cb2",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 296.441,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.19985,
    "h": 325.4
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#AB3CB2
secondary
#89C486
accent
#D94F57
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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