#AB5CB2#AB5CB2

#AB5CB2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.9% C 0.152 H 324.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB5CB2
RGBrgb(171, 92, 178)
HSLhsl(295, 36%, 53%)
HSVhsv(295, 48%, 70%)
CMYKcmyk(3.9%, 48.3%, 0%, 30.2%)
CIE-LABlab(51.30, 45.19, -32.24)
CIE-LCHlch(51.30, 55.52, 324.49°)
OKLaboklab(59.88% 0.123 -0.0887)
OKLCHoklch(59.88% 0.152 324.2)
XYZxyz(28.6569, 19.5279, 44.3706)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CB2 #63B25C
analogous
#805CB2 #AB5CB2 #B25C8E
triadic
#AB5CB2 #B2AB5C #5CB2AB
tetradic
#AB5CB2 #B2805C #63B25C #5C8EB2
square
#AB5CB2 #B2805C #63B25C #5C8EB2
split-complementary
#AB5CB2 #8EB25C #5CB280
monochromatic
#602F64 #88438E #AB5CB2 #C086C6 #D6AFD9

Accessibility & contrast

On white

4.28
#AB5CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AB5CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CB2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CB2#FFFFFF#000000##000000
##AB5CB21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#AE667F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab5cb2;
/* rgb */ color: rgb(171, 92, 178);
/* oklch */ color: oklch(59.9% 0.152 324.2);
Tailwind
colors: {
  custom: {
    50: '#c68dc9',
    500: '#ab5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cb2;
$custom-light: #c68dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cb2",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 295.116,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.15167,
    "h": 324.2
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#AB5CB2
secondary
#A5C7A2
accent
#CC5C65
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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