#AB52D0#AB52D0

#AB52D0 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.197 H 314.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB52D0
RGBrgb(171, 82, 208)
HSLhsl(282, 57%, 57%)
HSVhsv(282, 61%, 82%)
CMYKcmyk(17.8%, 60.6%, 0%, 18.4%)
CIE-LABlab(50.98, 56.21, -50.06)
CIE-LCHlch(50.98, 75.27, 318.31°)
OKLaboklab(60.15% 0.1389 -0.1404)
OKLCHoklch(60.15% 0.197 314.7)
XYZxyz(31.1952, 19.2476, 61.7342)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB52D0 #77D052
analogous
#6C52D0 #AB52D0 #D052B6
triadic
#AB52D0 #D0AB52 #52D0AB
tetradic
#AB52D0 #D06C52 #77D052 #52B6D0
square
#AB52D0 #D06C52 #77D052 #52B6D0
split-complementary
#AB52D0 #B6D052 #52D06C
monochromatic
#682484 #8D31B4 #AB52D0 #C282DD #DAB2EA

Accessibility & contrast

On white

4.33
#AB52D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AB52D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB52D0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB52D0#FFFFFF#000000##000000
##AB52D01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2874D4
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#A86889
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab52d0;
/* rgb */ color: rgb(171, 82, 208);
/* oklch */ color: oklch(60.1% 0.197 314.7);
Tailwind
colors: {
  custom: {
    50: '#c787df',
    500: '#ab52d0',
    950: '#000000',
  },
}
SCSS
$custom: #ab52d0;
$custom-light: #c787df;
$custom-dark: #000000;
JSON
{
  "hex": "#ab52d0",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 282.381,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.19745,
    "h": 314.7
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#AB52D0
secondary
#B4D9A5
accent
#E14774
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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