#AB50DA#AB50DA

#AB50DA is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.210 H 312.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB50DA
RGBrgb(171, 80, 218)
HSLhsl(280, 65%, 58%)
HSVhsv(280, 63%, 85%)
CMYKcmyk(21.6%, 63.3%, 0%, 14.5%)
CIE-LABlab(51.22, 59.24, -55.37)
CIE-LCHlch(51.22, 81.09, 316.93°)
OKLaboklab(60.51% 0.1411 -0.1559)
OKLCHoklch(60.51% 0.21 312.1)
XYZxyz(32.3159, 19.4580, 68.3695)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50DA #7FDA50
analogous
#6650DA #AB50DA #DA50C4
triadic
#AB50DA #DAAB50 #50DAAB
tetradic
#AB50DA #DA6650 #7FDA50 #50C4DA
square
#AB50DA #DA6650 #7FDA50 #50C4DA
split-complementary
#AB50DA #C4DA50 #50DA66
monochromatic
#6A1F91 #8F29C3 #AB50DA #C383E5 #DBB5EF

Accessibility & contrast

On white

4.29
#AB50DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AB50DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50DA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50DA#FFFFFF#000000##000000
##AB50DA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0975DE
Deuteranopia (green-blind)
#457CD7
Tritanopia (blue-blind)
#A66B8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab50da;
/* rgb */ color: rgb(171, 80, 218);
/* oklch */ color: oklch(60.5% 0.210 312.1);
Tailwind
colors: {
  custom: {
    50: '#c886e6',
    500: '#ab50da',
    950: '#000000',
  },
}
SCSS
$custom: #ab50da;
$custom-light: #c886e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50da",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 279.565,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.21026,
    "h": 312.1
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#AB50DA
secondary
#BADEA8
accent
#E84079
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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