#AB49EE#AB49EE

#AB49EE is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 61.0% C 0.239 H 308.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB49EE
RGBrgb(171, 73, 238)
HSLhsl(276, 83%, 61%)
HSVhsv(276, 69%, 93%)
CMYKcmyk(28.2%, 69.3%, 0%, 6.7%)
CIE-LABlab(51.38, 66.61, -66.41)
CIE-LCHlch(51.38, 94.06, 315.09°)
OKLaboklab(61.03% 0.1469 -0.1882)
OKLCHoklch(61.03% 0.239 308)
XYZxyz(34.6065, 19.5966, 82.8318)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49EE #8CEE49
analogous
#5849EE #AB49EE #EE49DF
triadic
#AB49EE #EEAB49 #49EEAB
tetradic
#AB49EE #EE5849 #8CEE49 #49DFEE
square
#AB49EE #EE5849 #8CEE49 #49DFEE
split-complementary
#AB49EE #DFEE49 #49EE58
monochromatic
#6D10AC #9015E4 #AB49EE #C581F3 #DFB9F8

Accessibility & contrast

On white

4.27
#AB49EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AB49EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49EE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49EE#FFFFFF#000000##000000
##AB49EE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#1D7BEA
Tritanopia (blue-blind)
#A06E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab49ee;
/* rgb */ color: rgb(171, 73, 238);
/* oklch */ color: oklch(61.0% 0.239 308.0);
Tailwind
colors: {
  custom: {
    50: '#c983f4',
    500: '#ab49ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab49ee;
$custom-light: #c983f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49ee",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 238
  },
  "hsl": {
    "h": 275.636,
    "s": 82.915,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61033,
    "c": 0.2388,
    "h": 308
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#AB49EE
secondary
#C4E9AA
accent
#DF065E
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB49EE

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

Preview Lab → · Contrast checker → · Palette generator →

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