#AB46CA#AB46CA

#AB46CA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.208 H 317.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB46CA
RGBrgb(171, 70, 202)
HSLhsl(286, 55%, 53%)
HSVhsv(286, 65%, 79%)
CMYKcmyk(15.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(48.64, 60.46, -50.34)
CIE-LCHlch(48.64, 78.67, 320.21°)
OKLaboklab(58.35% 0.1531 -0.1411)
OKLCHoklch(58.35% 0.208 317.3)
XYZxyz(29.6439, 17.3037, 57.6441)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46CA #65CA46
analogous
#6946CA #AB46CA #CA46A7
triadic
#AB46CA #CAAB46 #46CAAB
tetradic
#AB46CA #CA6946 #65CA46 #46A7CA
square
#AB46CA #CA6946 #65CA46 #46A7CA
split-complementary
#AB46CA #A7CA46 #46CA69
monochromatic
#612174 #882FA4 #AB46CA #C176D8 #D6A5E5

Accessibility & contrast

On white

4.71
#AB46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46CA#FFFFFF#000000##FFFFFF
##AB46CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116DCE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#AA5E82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab46ca;
/* rgb */ color: rgb(171, 70, 202);
/* oklch */ color: oklch(58.3% 0.208 317.3);
Tailwind
colors: {
  custom: {
    50: '#c780db',
    500: '#ab46ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab46ca;
$custom-light: #c780db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46ca",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 285.909,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.2082,
    "h": 317.3
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#AB46CA
secondary
#A7D29A
accent
#DF496C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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