#AB3BBA#AB3BBA

#AB3BBA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.208 H 322.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB3BBA
RGBrgb(171, 59, 186)
HSLhsl(293, 52%, 48%)
HSVhsv(293, 68%, 73%)
CMYKcmyk(8.1%, 68.3%, 0%, 27.1%)
CIE-LABlab(46.09, 61.96, -45.14)
CIE-LCHlch(46.09, 76.66, 323.93°)
OKLaboklab(56.21% 0.1655 -0.1258)
OKLCHoklch(56.21% 0.208 322.8)
XYZxyz(27.2206, 15.3326, 47.9706)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BBA #4ABA3B
analogous
#6B3BBA #AB3BBA #BA3B8A
triadic
#AB3BBA #BAAB3B #3BBAAB
tetradic
#AB3BBA #BA6B3B #4ABA3B #3B8ABA
square
#AB3BBA #BA6B3B #4ABA3B #3B8ABA
split-complementary
#AB3BBA #8ABA3B #3BBA6B
monochromatic
#561E5D #802C8C #AB3BBA #C164CE #D493DD

Accessibility & contrast

On white

5.16
#AB3BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB3BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BBA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BBA#FFFFFF#000000##FFFFFF
##AB3BBA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#AD5176
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3bba;
/* rgb */ color: rgb(171, 59, 186);
/* oklch */ color: oklch(56.2% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#c77acf',
    500: '#ab3bba',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bba;
$custom-light: #c77acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bba",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 292.913,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.20793,
    "h": 322.8
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#AB3BBA
secondary
#90C889
accent
#DB4D5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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