#AB46D4#AB46D4

#AB46D4 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.218 H 314.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB46D4
RGBrgb(171, 70, 212)
HSLhsl(283, 62%, 55%)
HSVhsv(283, 67%, 83%)
CMYKcmyk(19.3%, 67%, 0%, 16.9%)
CIE-LABlab(49.24, 62.46, -55.12)
CIE-LCHlch(49.24, 83.30, 318.57°)
OKLaboklab(58.97% 0.1526 -0.1551)
OKLCHoklch(58.97% 0.218 314.5)
XYZxyz(30.8664, 17.7927, 64.0830)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D4 #6FD446
analogous
#6446D4 #AB46D4 #D446B6
triadic
#AB46D4 #D4AB46 #46D4AB
tetradic
#AB46D4 #D46446 #6FD446 #46B6D4
square
#AB46D4 #D46446 #6FD446 #46B6D4
split-complementary
#AB46D4 #B6D446 #46D464
monochromatic
#651E81 #8B2AB3 #AB46D4 #C278E0 #D8A9EB

Accessibility & contrast

On white

4.61
#AB46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AB46D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46D4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D4#FFFFFF#000000##FFFFFF
##AB46D41.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#A76288
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab46d4;
/* rgb */ color: rgb(171, 70, 212);
/* oklch */ color: oklch(59.0% 0.218 314.5);
Tailwind
colors: {
  custom: {
    50: '#c881e2',
    500: '#ab46d4',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d4;
$custom-light: #c881e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d4",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 282.676,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.21758,
    "h": 314.5
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#AB46D4
secondary
#AED99D
accent
#E54271
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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