#AB50BE#AB50BE

#AB50BE is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.183 H 320.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB50BE
RGBrgb(171, 80, 190)
HSLhsl(290, 46%, 53%)
HSVhsv(290, 58%, 75%)
CMYKcmyk(10%, 57.9%, 0%, 25.5%)
CIE-LABlab(49.63, 53.53, -41.83)
CIE-LCHlch(49.63, 67.94, 322.00°)
OKLaboklab(58.85% 0.1408 -0.1164)
OKLCHoklch(58.85% 0.183 320.4)
XYZxyz(28.9564, 18.1143, 50.6763)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50BE #63BE50
analogous
#7450BE #AB50BE #BE509A
triadic
#AB50BE #BEAB50 #50BEAB
tetradic
#AB50BE #BE7450 #63BE50 #509ABE
square
#AB50BE #BE7450 #63BE50 #509ABE
split-complementary
#AB50BE #9ABE50 #50BE74
monochromatic
#60286C #883998 #AB50BE #C07DCF #D6A9DF

Accessibility & contrast

On white

4.54
#AB50BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AB50BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50BE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50BE#FFFFFF#000000##000000
##AB50BE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#5A79BB
Tritanopia (blue-blind)
#AC617F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab50be;
/* rgb */ color: rgb(171, 80, 190);
/* oklch */ color: oklch(58.9% 0.183 320.4);
Tailwind
colors: {
  custom: {
    50: '#c786d2',
    500: '#ab50be',
    950: '#000000',
  },
}
SCSS
$custom: #ab50be;
$custom-light: #c786d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50be",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 289.636,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.18263,
    "h": 320.4
  },
  "luminance": 0.18113
}

Semantic roles & 50–950 ramp

primary
#AB50BE
secondary
#A5CD9D
accent
#D55269
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB50BE

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

Preview Lab → · Contrast checker → · Palette generator →

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