#AB46BF#AB46BF

#AB46BF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.198 H 320.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB46BF
RGBrgb(171, 70, 191)
HSLhsl(290, 49%, 51%)
HSVhsv(290, 63%, 75%)
CMYKcmyk(10.5%, 63.4%, 0%, 25.1%)
CIE-LABlab(48.01, 58.32, -44.99)
CIE-LCHlch(48.01, 73.66, 322.35°)
OKLaboklab(57.69% 0.1532 -0.1255)
OKLCHoklch(57.69% 0.198 320.7)
XYZxyz(28.3876, 16.8012, 51.0278)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46BF #5ABF46
analogous
#6E46BF #AB46BF #BF4696
triadic
#AB46BF #BFAB46 #46BFAB
tetradic
#AB46BF #BF6E46 #5ABF46 #4696BF
square
#AB46BF #BF6E46 #5ABF46 #4696BF
split-complementary
#AB46BF #96BF46 #46BF6E
monochromatic
#5C2467 #843394 #AB46BF #C073CF #D4A1DE

Accessibility & contrast

On white

4.82
#AB46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46BF#FFFFFF#000000##FFFFFF
##AB46BF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#AC5A7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab46bf;
/* rgb */ color: rgb(171, 70, 191);
/* oklch */ color: oklch(57.7% 0.198 320.7);
Tailwind
colors: {
  custom: {
    50: '#c780d3',
    500: '#ab46bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab46bf;
$custom-light: #c780d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46bf",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 290.083,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.198,
    "h": 320.7
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#AB46BF
secondary
#9FCB96
accent
#D85066
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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