#AB3CBE#AB3CBE

#AB3CBE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.210 H 321.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB3CBE
RGBrgb(171, 60, 190)
HSLhsl(291, 52%, 49%)
HSVhsv(291, 68%, 75%)
CMYKcmyk(10%, 68.4%, 0%, 25.5%)
CIE-LABlab(46.46, 62.30, -46.88)
CIE-LCHlch(46.46, 77.97, 323.04°)
OKLaboklab(56.55% 0.1644 -0.1309)
OKLCHoklch(56.55% 0.21 321.5)
XYZxyz(27.7037, 15.6088, 50.2588)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CBE #4FBE3C
analogous
#6A3CBE #AB3CBE #BE3C90
triadic
#AB3CBE #BEAB3C #3CBEAB
tetradic
#AB3CBE #BE6A3C #4FBE3C #3C90BE
square
#AB3CBE #BE6A3C #4FBE3C #3C90BE
split-complementary
#AB3CBE #90BE3C #3CBE6A
monochromatic
#571F61 #812D8F #AB3CBE #C068CF #D496DE

Accessibility & contrast

On white

5.10
#AB3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CBE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CBE#FFFFFF#000000##FFFFFF
##AB3CBE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#AD5379
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3cbe;
/* rgb */ color: rgb(171, 60, 190);
/* oklch */ color: oklch(56.5% 0.210 321.5);
Tailwind
colors: {
  custom: {
    50: '#c87bd2',
    500: '#ab3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cbe;
$custom-light: #c87bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cbe",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 291.231,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.21015,
    "h": 321.5
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#AB3CBE
secondary
#95CA8C
accent
#DB4C61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AB3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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