#AB50DB#AB50DB

#AB50DB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.211 H 311.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB50DB
RGBrgb(171, 80, 219)
HSLhsl(279, 66%, 59%)
HSVhsv(279, 63%, 86%)
CMYKcmyk(21.9%, 63.5%, 0%, 14.1%)
CIE-LABlab(51.28, 59.45, -55.84)
CIE-LCHlch(51.28, 81.56, 316.79°)
OKLaboklab(60.58% 0.1411 -0.1573)
OKLCHoklch(60.58% 0.211 311.9)
XYZxyz(32.4471, 19.5105, 69.0608)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50DB #80DB50
analogous
#6550DB #AB50DB #DB50C5
triadic
#AB50DB #DBAB50 #50DBAB
tetradic
#AB50DB #DB6550 #80DB50 #50C5DB
square
#AB50DB #DB6550 #80DB50 #50C5DB
split-complementary
#AB50DB #C5DB50 #50DB65
monochromatic
#6A1E92 #8F29C5 #AB50DB #C383E5 #DCB6F0

Accessibility & contrast

On white

4.28
#AB50DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AB50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50DB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50DB#FFFFFF#000000##000000
##AB50DB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0476DF
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#A56B8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab50db;
/* rgb */ color: rgb(171, 80, 219);
/* oklch */ color: oklch(60.6% 0.211 311.9);
Tailwind
colors: {
  custom: {
    50: '#c887e7',
    500: '#ab50db',
    950: '#000000',
  },
}
SCSS
$custom: #ab50db;
$custom-light: #c887e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50db",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 279.281,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.21126,
    "h": 311.9
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#AB50DB
secondary
#BBDFA8
accent
#E93F7A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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