#AB49DE#AB49DE

#AB49DE is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.0% C 0.223 H 311.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB49DE
RGBrgb(171, 73, 222)
HSLhsl(279, 69%, 58%)
HSVhsv(279, 67%, 87%)
CMYKcmyk(23%, 67.1%, 0%, 12.9%)
CIE-LABlab(50.33, 63.22, -59.06)
CIE-LCHlch(50.33, 86.52, 316.95°)
OKLaboklab(59.95% 0.1486 -0.1667)
OKLCHoklch(59.95% 0.223 311.7)
XYZxyz(32.3595, 18.6978, 70.9975)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49DE #7CDE49
analogous
#6049DE #AB49DE #DE49C6
triadic
#AB49DE #DEAB49 #49DEAB
tetradic
#AB49DE #DE6049 #7CDE49 #49C6DE
square
#AB49DE #DE6049 #7CDE49 #49C6DE
split-complementary
#AB49DE #C6DE49 #49DE60
monochromatic
#691A92 #8E24C6 #AB49DE #C37DE7 #DBB1F1

Accessibility & contrast

On white

4.43
#AB49DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AB49DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49DE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49DE#FFFFFF#000000##000000
##AB49DE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#A5688E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab49de;
/* rgb */ color: rgb(171, 73, 222);
/* oklch */ color: oklch(60.0% 0.223 311.7);
Tailwind
colors: {
  custom: {
    50: '#c883e9',
    500: '#ab49de',
    950: '#000000',
  },
}
SCSS
$custom: #ab49de;
$custom-light: #c883e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49de",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 222
  },
  "hsl": {
    "h": 279.463,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.22334,
    "h": 311.7
  },
  "luminance": 0.18697
}

Semantic roles & 50–950 ramp

primary
#AB49DE
secondary
#B8DFA4
accent
#EC3C78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49DE

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

Preview Lab → · Contrast checker → · Palette generator →

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