#AB5BB2#AB5BB2

#AB5BB2 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.7% C 0.153 H 324.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB5BB2
RGBrgb(171, 91, 178)
HSLhsl(295, 36%, 53%)
HSVhsv(295, 49%, 70%)
CMYKcmyk(3.9%, 48.9%, 0%, 30.2%)
CIE-LABlab(51.10, 45.71, -32.55)
CIE-LCHlch(51.10, 56.12, 324.54°)
OKLaboklab(59.74% 0.1244 -0.0896)
OKLCHoklch(59.74% 0.153 324.2)
XYZxyz(28.5708, 19.3558, 44.3420)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BB2 #62B25B
analogous
#7F5BB2 #AB5BB2 #B25B8E
triadic
#AB5BB2 #B2AB5B #5BB2AB
tetradic
#AB5BB2 #B27F5B #62B25B #5B8EB2
square
#AB5BB2 #B27F5B #62B25B #5B8EB2
split-complementary
#AB5BB2 #8EB25B #5BB27F
monochromatic
#602F64 #87428D #AB5BB2 #C085C6 #D6AED9

Accessibility & contrast

On white

4.31
#AB5BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AB5BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BB2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BB2#FFFFFF#000000##000000
##AB5BB21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#AE657E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab5bb2;
/* rgb */ color: rgb(171, 91, 178);
/* oklch */ color: oklch(59.7% 0.153 324.2);
Tailwind
colors: {
  custom: {
    50: '#c68cc9',
    500: '#ab5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bb2;
$custom-light: #c68cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bb2",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 295.172,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.15334,
    "h": 324.2
  },
  "luminance": 0.19354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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