#AB49DF#AB49DF

#AB49DF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.224 H 311.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB49DF
RGBrgb(171, 73, 223)
HSLhsl(279, 70%, 58%)
HSVhsv(279, 67%, 87%)
CMYKcmyk(23.3%, 67.3%, 0%, 12.5%)
CIE-LABlab(50.40, 63.43, -59.53)
CIE-LCHlch(50.40, 86.99, 316.82°)
OKLaboklab(60.02% 0.1485 -0.1681)
OKLCHoklch(60.02% 0.224 311.5)
XYZxyz(32.4939, 18.7515, 71.7054)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49DF #7DDF49
analogous
#6049DF #AB49DF #DF49C8
triadic
#AB49DF #DFAB49 #49DFAB
tetradic
#AB49DF #DF6049 #7DDF49 #49C8DF
square
#AB49DF #DF6049 #7DDF49 #49C8DF
split-complementary
#AB49DF #C8DF49 #49DF60
monochromatic
#691A94 #8F23C8 #AB49DF #C37DE8 #DBB1F1

Accessibility & contrast

On white

4.42
#AB49DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB49DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49DF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49DF#FFFFFF#000000##000000
##AB49DF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#A5688E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab49df;
/* rgb */ color: rgb(171, 73, 223);
/* oklch */ color: oklch(60.0% 0.224 311.5);
Tailwind
colors: {
  custom: {
    50: '#c883ea',
    500: '#ab49df',
    950: '#000000',
  },
}
SCSS
$custom: #ab49df;
$custom-light: #c883ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49df",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 279.2,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60019,
    "c": 0.2243,
    "h": 311.5
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#AB49DF
secondary
#B9E0A4
accent
#ED3B79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49DF

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

Preview Lab → · Contrast checker → · Palette generator →

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