#AB50DF#AB50DF

#AB50DF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.215 H 310.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB50DF
RGBrgb(171, 80, 223)
HSLhsl(278, 69%, 59%)
HSVhsv(278, 64%, 87%)
CMYKcmyk(23.3%, 64.1%, 0%, 12.5%)
CIE-LABlab(51.52, 60.30, -57.72)
CIE-LCHlch(51.52, 83.47, 316.26°)
OKLaboklab(60.83% 0.1409 -0.1628)
OKLCHoklch(60.83% 0.215 310.9)
XYZxyz(32.9800, 19.7237, 71.8674)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50DF #84DF50
analogous
#6450DF #AB50DF #DF50CB
triadic
#AB50DF #DFAB50 #50DFAB
tetradic
#AB50DF #DF6450 #84DF50 #50CBDF
square
#AB50DF #DF6450 #84DF50 #50CBDF
split-complementary
#AB50DF #CBDF50 #50DF64
monochromatic
#6B1C99 #9025CC #AB50DF #C484E8 #DDB7F2

Accessibility & contrast

On white

4.25
#AB50DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AB50DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50DF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50DF#FFFFFF#000000##000000
##AB50DF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3F7CDC
Tritanopia (blue-blind)
#A46D91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab50df;
/* rgb */ color: rgb(171, 80, 223);
/* oklch */ color: oklch(60.8% 0.215 310.9);
Tailwind
colors: {
  custom: {
    50: '#c887ea',
    500: '#ab50df',
    950: '#000000',
  },
}
SCSS
$custom: #ab50df;
$custom-light: #c887ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50df",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 278.182,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.21526,
    "h": 310.9
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#AB50DF
secondary
#BEE1AA
accent
#EC3C7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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