#AB44E2#AB44E2

#AB44E2 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.233 H 311.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB44E2
RGBrgb(171, 68, 226)
HSLhsl(279, 73%, 58%)
HSVhsv(279, 70%, 89%)
CMYKcmyk(24.3%, 69.9%, 0%, 11.4%)
CIE-LABlab(49.84, 66.16, -62.13)
CIE-LCHlch(49.84, 90.76, 316.80°)
OKLaboklab(59.68% 0.1534 -0.1756)
OKLCHoklch(59.68% 0.233 311.1)
XYZxyz(32.5866, 18.2839, 73.7493)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44E2 #7BE244
analogous
#5C44E2 #AB44E2 #E244CA
triadic
#AB44E2 #E2AB44 #44E2AB
tetradic
#AB44E2 #E25C44 #7BE244 #44CAE2
square
#AB44E2 #E25C44 #7BE244 #44CAE2
split-complementary
#AB44E2 #CAE244 #44E25C
monochromatic
#691795 #8E1FCA #AB44E2 #C379EA #DBAEF2

Accessibility & contrast

On white

4.51
#AB44E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AB44E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB44E2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44E2#FFFFFF#000000##000000
##AB44E21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2D78DF
Tritanopia (blue-blind)
#A4668F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab44e2;
/* rgb */ color: rgb(171, 68, 226);
/* oklch */ color: oklch(59.7% 0.233 311.1);
Tailwind
colors: {
  custom: {
    50: '#c980ec',
    500: '#ab44e2',
    950: '#000000',
  },
}
SCSS
$custom: #ab44e2;
$custom-light: #c980ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44e2",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 226
  },
  "hsl": {
    "h": 279.114,
    "s": 73.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.2332,
    "h": 311.1
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#AB44E2
secondary
#B7E1A1
accent
#F03878
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB44E2

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

Preview Lab → · Contrast checker → · Palette generator →

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