#AB49E4#AB49E4

#AB49E4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.4% C 0.229 H 310.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB49E4
RGBrgb(171, 73, 228)
HSLhsl(278, 74%, 59%)
HSVhsv(278, 68%, 89%)
CMYKcmyk(25%, 68%, 0%, 10.6%)
CIE-LABlab(50.72, 64.48, -61.84)
CIE-LCHlch(50.72, 89.34, 316.20°)
OKLaboklab(60.35% 0.1481 -0.1748)
OKLCHoklch(60.35% 0.229 310.3)
XYZxyz(33.1780, 19.0252, 75.3082)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49E4 #82E449
analogous
#5E49E4 #AB49E4 #E449D0
triadic
#AB49E4 #E4AB49 #49E4AB
tetradic
#AB49E4 #E45E49 #82E449 #49D0E4
square
#AB49E4 #E45E49 #82E449 #49D0E4
split-complementary
#AB49E4 #D0E449 #49E45E
monochromatic
#6B179C #8F1FD1 #AB49E4 #C47EEC #DCB4F4

Accessibility & contrast

On white

4.37
#AB49E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AB49E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49E4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49E4#FFFFFF#000000##000000
##AB49E41.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#307AE1
Tritanopia (blue-blind)
#A36A91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab49e4;
/* rgb */ color: rgb(171, 73, 228);
/* oklch */ color: oklch(60.4% 0.229 310.3);
Tailwind
colors: {
  custom: {
    50: '#c883ed',
    500: '#ab49e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab49e4;
$custom-light: #c883ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49e4",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 277.935,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.22913,
    "h": 310.3
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#AB49E4
secondary
#BCE3A6
accent
#F1377B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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