#AB46DA#AB46DA

#AB46DA is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.223 H 313.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB46DA
RGBrgb(171, 70, 218)
HSLhsl(281, 67%, 56%)
HSVhsv(281, 68%, 85%)
CMYKcmyk(21.6%, 67.9%, 0%, 14.5%)
CIE-LABlab(49.62, 63.68, -57.94)
CIE-LCHlch(49.62, 86.09, 317.70°)
OKLaboklab(59.36% 0.1522 -0.1634)
OKLCHoklch(59.36% 0.223 313)
XYZxyz(31.6374, 18.1011, 68.1434)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46DA #75DA46
analogous
#6146DA #AB46DA #DA46BF
triadic
#AB46DA #DAAB46 #46DAAB
tetradic
#AB46DA #DA6146 #75DA46 #46BFDA
square
#AB46DA #DA6146 #75DA46 #46BFDA
split-complementary
#AB46DA #BFDA46 #46DA61
monochromatic
#671C8A #8D26BD #AB46DA #C279E4 #D9ACEE

Accessibility & contrast

On white

4.55
#AB46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AB46DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46DA#FFFFFF#000000##000000
##AB46DA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#A6648B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab46da;
/* rgb */ color: rgb(171, 70, 218);
/* oklch */ color: oklch(59.4% 0.223 313.0);
Tailwind
colors: {
  custom: {
    50: '#c881e6',
    500: '#ab46da',
    950: '#000000',
  },
}
SCSS
$custom: #ab46da;
$custom-light: #c881e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46da",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 280.946,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.22325,
    "h": 313
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#AB46DA
secondary
#B3DCA0
accent
#EA3E75
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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