#AB49E9#AB49E9

#AB49E9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.7% C 0.234 H 309.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB49E9
RGBrgb(171, 73, 233)
HSLhsl(277, 78%, 60%)
HSVhsv(277, 69%, 91%)
CMYKcmyk(26.6%, 68.7%, 0%, 8.6%)
CIE-LABlab(51.04, 65.54, -64.13)
CIE-LCHlch(51.04, 91.70, 315.62°)
OKLaboklab(60.69% 0.1475 -0.1816)
OKLCHoklch(60.69% 0.234 309.1)
XYZxyz(33.8822, 19.3068, 79.0167)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49E9 #87E949
analogous
#5B49E9 #AB49E9 #E949D7
triadic
#AB49E9 #E9AB49 #49E9AB
tetradic
#AB49E9 #E95B49 #87E949 #49D7E9
square
#AB49E9 #E95B49 #87E949 #49D7E9
split-complementary
#AB49E9 #D7E949 #49E95B
monochromatic
#6C14A4 #901ADA #AB49E9 #C480F0 #DDB6F6

Accessibility & contrast

On white

4.32
#AB49E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AB49E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49E9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49E9#FFFFFF#000000##000000
##AB49E91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#A26C94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab49e9;
/* rgb */ color: rgb(171, 73, 233);
/* oklch */ color: oklch(60.7% 0.234 309.1);
Tailwind
colors: {
  custom: {
    50: '#c983f1',
    500: '#ab49e9',
    950: '#000000',
  },
}
SCSS
$custom: #ab49e9;
$custom-light: #c983f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49e9",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 233
  },
  "hsl": {
    "h": 276.75,
    "s": 78.431,
    "l": 60
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.23396,
    "h": 309.1
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#AB49E9
secondary
#C0E6A8
accent
#F5337E
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB49E9

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

Preview Lab → · Contrast checker → · Palette generator →

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