#AB46BE#AB46BE

#AB46BE is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.197 H 321.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AB46BE
RGBrgb(171, 70, 190)
HSLhsl(291, 48%, 51%)
HSVhsv(291, 63%, 75%)
CMYKcmyk(10%, 63.2%, 0%, 25.5%)
CIE-LABlab(47.95, 58.13, -44.50)
CIE-LCHlch(47.95, 73.21, 322.57°)
OKLaboklab(57.63% 0.1531 -0.124)
OKLCHoklch(57.63% 0.197 321)
XYZxyz(28.2779, 16.7573, 50.4502)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46BE #59BE46
analogous
#6F46BE #AB46BE #BE4695
triadic
#AB46BE #BEAB46 #46BEAB
tetradic
#AB46BE #BE6F46 #59BE46 #4695BE
square
#AB46BE #BE6F46 #59BE46 #4695BE
split-complementary
#AB46BE #95BE46 #46BE6F
monochromatic
#5B2466 #843493 #AB46BE #C073CE #D4A1DE

Accessibility & contrast

On white

4.83
#AB46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AB46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46BE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46BE#FFFFFF#000000##FFFFFF
##AB46BE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#5276BB
Tritanopia (blue-blind)
#AC5A7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab46be;
/* rgb */ color: rgb(171, 70, 190);
/* oklch */ color: oklch(57.6% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#c780d2',
    500: '#ab46be',
    950: '#000000',
  },
}
SCSS
$custom: #ab46be;
$custom-light: #c780d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46be",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 290.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.19708,
    "h": 321
  },
  "luminance": 0.16756
}

Semantic roles & 50–950 ramp

primary
#AB46BE
secondary
#9ECA95
accent
#D85066
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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