#AB49DD#AB49DD

#AB49DD is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.9% C 0.222 H 312.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB49DD
RGBrgb(171, 73, 221)
HSLhsl(280, 69%, 58%)
HSVhsv(280, 67%, 87%)
CMYKcmyk(22.6%, 67%, 0%, 13.3%)
CIE-LABlab(50.27, 63.01, -58.60)
CIE-LCHlch(50.27, 86.05, 317.08°)
OKLaboklab(59.89% 0.1487 -0.1653)
OKLCHoklch(59.89% 0.222 312)
XYZxyz(32.2259, 18.6443, 70.2937)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49DD #7BDD49
analogous
#6149DD #AB49DD #DD49C5
triadic
#AB49DD #DDAB49 #49DDAB
tetradic
#AB49DD #DD6149 #7BDD49 #49C5DD
square
#AB49DD #DD6149 #7BDD49 #49C5DD
split-complementary
#AB49DD #C5DD49 #49DD61
monochromatic
#691B91 #8E25C4 #AB49DD #C37DE7 #DBB0F0

Accessibility & contrast

On white

4.44
#AB49DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AB49DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49DD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49DD#FFFFFF#000000##000000
##AB49DD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#A5678D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab49dd;
/* rgb */ color: rgb(171, 73, 221);
/* oklch */ color: oklch(59.9% 0.222 312.0);
Tailwind
colors: {
  custom: {
    50: '#c883e8',
    500: '#ab49dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab49dd;
$custom-light: #c883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49dd",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 279.73,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.22238,
    "h": 312
  },
  "luminance": 0.18643
}

Semantic roles & 50–950 ramp

primary
#AB49DD
secondary
#B7DFA3
accent
#EB3C78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49DD

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

Preview Lab → · Contrast checker → · Palette generator →

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