#AB49E5#AB49E5

#AB49E5 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.4% C 0.230 H 310.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB49E5
RGBrgb(171, 73, 229)
HSLhsl(278, 75%, 59%)
HSVhsv(278, 68%, 90%)
CMYKcmyk(25.3%, 68.1%, 0%, 10.2%)
CIE-LABlab(50.78, 64.69, -62.30)
CIE-LCHlch(50.78, 89.81, 316.08°)
OKLaboklab(60.42% 0.148 -0.1762)
OKLCHoklch(60.42% 0.23 310)
XYZxyz(33.3172, 19.0808, 76.0414)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49E5 #83E549
analogous
#5D49E5 #AB49E5 #E549D1
triadic
#AB49E5 #E5AB49 #49E5AB
tetradic
#AB49E5 #E55D49 #83E549 #49D1E5
square
#AB49E5 #E55D49 #83E549 #49D1E5
split-complementary
#AB49E5 #D1E549 #49E55D
monochromatic
#6B169D #901ED3 #AB49E5 #C47FED #DCB4F4

Accessibility & contrast

On white

4.36
#AB49E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AB49E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49E5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49E5#FFFFFF#000000##000000
##AB49E51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#2F7AE2
Tritanopia (blue-blind)
#A36B92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab49e5;
/* rgb */ color: rgb(171, 73, 229);
/* oklch */ color: oklch(60.4% 0.230 310.0);
Tailwind
colors: {
  custom: {
    50: '#c983ee',
    500: '#ab49e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab49e5;
$custom-light: #c983ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49e5",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 277.692,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.2301,
    "h": 310
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#AB49E5
secondary
#BDE3A6
accent
#F2367C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49E5

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

Preview Lab → · Contrast checker → · Palette generator →

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