#AB49E1#AB49E1

#AB49E1 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.2% C 0.226 H 311.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB49E1
RGBrgb(171, 73, 225)
HSLhsl(279, 72%, 58%)
HSVhsv(279, 68%, 88%)
CMYKcmyk(24%, 67.6%, 0%, 11.8%)
CIE-LABlab(50.52, 63.85, -60.46)
CIE-LCHlch(50.52, 87.93, 316.56°)
OKLaboklab(60.15% 0.1484 -0.1708)
OKLCHoklch(60.15% 0.226 311)
XYZxyz(32.7652, 18.8600, 73.1339)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49E1 #7FE149
analogous
#5F49E1 #AB49E1 #E149CB
triadic
#AB49E1 #E1AB49 #49E1AB
tetradic
#AB49E1 #E15F49 #7FE149 #49CBE1
square
#AB49E1 #E15F49 #7FE149 #49CBE1
split-complementary
#AB49E1 #CBE149 #49E15F
monochromatic
#6A1997 #8F22CB #AB49E1 #C37EEA #DBB2F2

Accessibility & contrast

On white

4.40
#AB49E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB49E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49E1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49E1#FFFFFF#000000##000000
##AB49E11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#A46990
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab49e1;
/* rgb */ color: rgb(171, 73, 225);
/* oklch */ color: oklch(60.2% 0.226 311.0);
Tailwind
colors: {
  custom: {
    50: '#c883eb',
    500: '#ab49e1',
    950: '#000000',
  },
}
SCSS
$custom: #ab49e1;
$custom-light: #c883eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49e1",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 278.684,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.22624,
    "h": 311
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#AB49E1
secondary
#BAE1A5
accent
#EE397A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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