#AB46DD#AB46DD

#AB46DD is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.226 H 312.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB46DD
RGBrgb(171, 70, 221)
HSLhsl(280, 69%, 57%)
HSVhsv(280, 68%, 87%)
CMYKcmyk(22.6%, 68.3%, 0%, 13.3%)
CIE-LABlab(49.81, 64.30, -59.34)
CIE-LCHlch(49.81, 87.49, 317.30°)
OKLaboklab(59.56% 0.1519 -0.1675)
OKLCHoklch(59.56% 0.226 312.2)
XYZxyz(32.0335, 18.2596, 70.2296)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46DD #78DD46
analogous
#5F46DD #AB46DD #DD46C4
triadic
#AB46DD #DDAB46 #46DDAB
tetradic
#AB46DD #DD5F46 #78DD46 #46C4DD
square
#AB46DD #DD5F46 #78DD46 #46C4DD
split-complementary
#AB46DD #C4DD46 #46DD5F
monochromatic
#681A8E #8E24C2 #AB46DD #C27AE7 #DAADF0

Accessibility & contrast

On white

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

On black

4.65
#AB46DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46DD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46DD#FFFFFF#000000##000000
##AB46DD1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#3679DA
Tritanopia (blue-blind)
#A5668C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab46dd;
/* rgb */ color: rgb(171, 70, 221);
/* oklch */ color: oklch(59.6% 0.226 312.2);
Tailwind
colors: {
  custom: {
    50: '#c881e8',
    500: '#ab46dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab46dd;
$custom-light: #c881e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46dd",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 280.132,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.2261,
    "h": 312.2
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#AB46DD
secondary
#B5DEA1
accent
#EC3C76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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