#AB50D2#AB50D2

#AB50D2 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.202 H 314.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AB50D2
RGBrgb(171, 80, 210)
HSLhsl(282, 59%, 57%)
HSVhsv(282, 62%, 82%)
CMYKcmyk(18.6%, 61.9%, 0%, 17.6%)
CIE-LABlab(50.74, 57.57, -51.57)
CIE-LCHlch(50.74, 77.29, 318.14°)
OKLaboklab(60.02% 0.1413 -0.1448)
OKLCHoklch(60.02% 0.202 314.3)
XYZxyz(31.2942, 19.0494, 62.9887)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50D2 #77D250
analogous
#6A50D2 #AB50D2 #D250B8
triadic
#AB50D2 #D2AB50 #50D2AB
tetradic
#AB50D2 #D26A50 #77D250 #50B8D2
square
#AB50D2 #D26A50 #77D250 #50B8D2
split-complementary
#AB50D2 #B8D250 #50D26A
monochromatic
#682285 #8D2FB6 #AB50D2 #C281DF #DAB1EB

Accessibility & contrast

On white

4.37
#AB50D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AB50D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50D2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50D2#FFFFFF#000000##000000
##AB50D21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2074D6
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#A8688A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab50d2;
/* rgb */ color: rgb(171, 80, 210);
/* oklch */ color: oklch(60.0% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#c786e0',
    500: '#ab50d2',
    950: '#000000',
  },
}
SCSS
$custom: #ab50d2;
$custom-light: #c786e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50d2",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 282,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60017,
    "c": 0.20228,
    "h": 314.3
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#AB50D2
secondary
#B4D9A4
accent
#E24675
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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