#AB46CF#AB46CF

#AB46CF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.7% C 0.213 H 315.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB46CF
RGBrgb(171, 70, 207)
HSLhsl(284, 59%, 54%)
HSVhsv(284, 66%, 81%)
CMYKcmyk(17.4%, 66.2%, 0%, 18.8%)
CIE-LABlab(48.94, 61.45, -52.74)
CIE-LCHlch(48.94, 80.98, 319.36°)
OKLaboklab(58.66% 0.1529 -0.1481)
OKLCHoklch(58.66% 0.213 315.9)
XYZxyz(30.2455, 17.5444, 60.8126)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46CF #6ACF46
analogous
#6746CF #AB46CF #CF46AE
triadic
#AB46CF #CFAB46 #46CFAB
tetradic
#AB46CF #CF6746 #6ACF46 #46AECF
square
#AB46CF #CF6746 #6ACF46 #46AECF
split-complementary
#AB46CF #AECF46 #46CF67
monochromatic
#63207B #8A2CAB #AB46CF #C177DC #D7A7E8

Accessibility & contrast

On white

4.66
#AB46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AB46CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46CF#FFFFFF#000000##FFFFFF
##AB46CF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#A96085
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab46cf;
/* rgb */ color: rgb(171, 70, 207);
/* oklch */ color: oklch(58.7% 0.213 315.9);
Tailwind
colors: {
  custom: {
    50: '#c881de',
    500: '#ab46cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab46cf;
$custom-light: #c881de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46cf",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 284.234,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58657,
    "c": 0.21288,
    "h": 315.9
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#AB46CF
secondary
#ABD59B
accent
#E2466F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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