#AB49E6#AB49E6

#AB49E6 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.5% C 0.231 H 309.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AB49E6
RGBrgb(171, 73, 230)
HSLhsl(277, 76%, 59%)
HSVhsv(277, 68%, 90%)
CMYKcmyk(25.7%, 68.3%, 0%, 9.8%)
CIE-LABlab(50.85, 64.90, -62.76)
CIE-LCHlch(50.85, 90.29, 315.96°)
OKLaboklab(60.49% 0.1479 -0.1776)
OKLCHoklch(60.49% 0.231 309.8)
XYZxyz(33.4572, 19.1369, 76.7788)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49E6 #84E649
analogous
#5D49E6 #AB49E6 #E649D3
triadic
#AB49E6 #E6AB49 #49E6AB
tetradic
#AB49E6 #E65D49 #84E649 #49D3E6
square
#AB49E6 #E65D49 #84E649 #49D3E6
split-complementary
#AB49E6 #D3E649 #49E65D
monochromatic
#6B169F #901DD5 #AB49E6 #C47FED #DDB5F5

Accessibility & contrast

On white

4.35
#AB49E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AB49E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49E6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49E6#FFFFFF#000000##000000
##AB49E61.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab49e6;
/* rgb */ color: rgb(171, 73, 230);
/* oklch */ color: oklch(60.5% 0.231 309.8);
Tailwind
colors: {
  custom: {
    50: '#c983ef',
    500: '#ab49e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab49e6;
$custom-light: #c983ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49e6",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 277.452,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.23106,
    "h": 309.8
  },
  "luminance": 0.19136
}

Semantic roles & 50–950 ramp

primary
#AB49E6
secondary
#BEE4A7
accent
#F2357C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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