#AB3CB8#AB3CB8

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

Color values

HEX#AB3CB8
RGBrgb(171, 60, 184)
HSLhsl(294, 51%, 48%)
HSVhsv(294, 67%, 72%)
CMYKcmyk(7.1%, 67.4%, 0%, 27.8%)
CIE-LABlab(46.11, 61.21, -43.93)
CIE-LCHlch(46.11, 75.34, 324.33°)
OKLaboklab(56.19% 0.1645 -0.1223)
OKLCHoklch(56.19% 0.205 323.4)
XYZxyz(27.0614, 15.3519, 46.8759)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CB8 #49B83C
analogous
#6D3CB8 #AB3CB8 #B83C87
triadic
#AB3CB8 #B8AB3C #3CB8AB
tetradic
#AB3CB8 #B86D3C #49B83C #3C87B8
square
#AB3CB8 #B86D3C #49B83C #3C87B8
split-complementary
#AB3CB8 #87B83C #3CB86D
monochromatic
#551E5C #802D8A #AB3CB8 #C265CD #D493DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3CB8#FFFFFF#000000##FFFFFF
##AB3CB81.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)
#1C65BC
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#AE5075
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3cb8;
/* rgb */ color: rgb(171, 60, 184);
/* oklch */ color: oklch(56.2% 0.205 323.4);
Tailwind
colors: {
  custom: {
    50: '#c77bce',
    500: '#ab3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cb8;
$custom-light: #c77bce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cb8",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 293.71,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.20496,
    "h": 323.4
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#AB3CB8
secondary
#8FC789
accent
#DA4D5C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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