#AB50D7#AB50D7

#AB50D7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.207 H 312.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB50D7
RGBrgb(171, 80, 215)
HSLhsl(280, 63%, 58%)
HSVhsv(280, 63%, 84%)
CMYKcmyk(20.5%, 62.8%, 0%, 15.7%)
CIE-LABlab(51.04, 58.61, -53.95)
CIE-LCHlch(51.04, 79.66, 317.37°)
OKLaboklab(60.33% 0.1412 -0.1517)
OKLCHoklch(60.33% 0.207 312.9)
XYZxyz(31.9268, 19.3024, 66.3207)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50D7 #7CD750
analogous
#6750D7 #AB50D7 #D750C0
triadic
#AB50D7 #D7AB50 #50D7AB
tetradic
#AB50D7 #D76750 #7CD750 #50C0D7
square
#AB50D7 #D76750 #7CD750 #50C0D7
split-complementary
#AB50D7 #C0D750 #50D767
monochromatic
#69208C #8E2BBE #AB50D7 #C382E2 #DBB4EE

Accessibility & contrast

On white

4.32
#AB50D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AB50D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50D7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50D7#FFFFFF#000000##000000
##AB50D71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1475DB
Deuteranopia (green-blind)
#477CD4
Tritanopia (blue-blind)
#A66A8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab50d7;
/* rgb */ color: rgb(171, 80, 215);
/* oklch */ color: oklch(60.3% 0.207 312.9);
Tailwind
colors: {
  custom: {
    50: '#c886e4',
    500: '#ab50d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab50d7;
$custom-light: #c886e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50d7",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 280.444,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.20726,
    "h": 312.9
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#AB50D7
secondary
#B8DCA6
accent
#E64277
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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