#AB50D3#AB50D3

#AB50D3 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.1% C 0.203 H 314.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB50D3
RGBrgb(171, 80, 211)
HSLhsl(282, 60%, 57%)
HSVhsv(282, 62%, 83%)
CMYKcmyk(19%, 62.1%, 0%, 17.3%)
CIE-LABlab(50.80, 57.77, -52.05)
CIE-LCHlch(50.80, 77.76, 317.98°)
OKLaboklab(60.08% 0.1413 -0.1462)
OKLCHoklch(60.08% 0.203 314)
XYZxyz(31.4192, 19.0994, 63.6469)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50D3 #78D350
analogous
#6950D3 #AB50D3 #D350BA
triadic
#AB50D3 #D3AB50 #50D3AB
tetradic
#AB50D3 #D36950 #78D350 #50BAD3
square
#AB50D3 #D36950 #78D350 #50BAD3
split-complementary
#AB50D3 #BAD350 #50D369
monochromatic
#682287 #8E2EB8 #AB50D3 #C281DF #DAB2EC

Accessibility & contrast

On white

4.36
#AB50D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AB50D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50D3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50D3#FFFFFF#000000##000000
##AB50D31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E74D7
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#A7688A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab50d3;
/* rgb */ color: rgb(171, 80, 211);
/* oklch */ color: oklch(60.1% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#c786e1',
    500: '#ab50d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab50d3;
$custom-light: #c786e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50d3",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 281.679,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.20327,
    "h": 314
  },
  "luminance": 0.19098
}

Semantic roles & 50–950 ramp

primary
#AB50D3
secondary
#B5DAA5
accent
#E34575
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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