#AC46DF#AC46DF

#AC46DF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.228 H 312.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AC46DF
RGBrgb(172, 70, 223)
HSLhsl(280, 71%, 57%)
HSVhsv(280, 69%, 87%)
CMYKcmyk(22.9%, 68.6%, 0%, 12.5%)
CIE-LABlab(50.07, 64.91, -60.04)
CIE-LCHlch(50.07, 88.42, 317.23°)
OKLaboklab(59.82% 0.1529 -0.1695)
OKLCHoklch(59.82% 0.228 312.1)
XYZxyz(32.5203, 18.4796, 71.6515)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC46DF #79DF46
analogous
#6046DF #AC46DF #DF46C6
triadic
#AC46DF #DFAC46 #46DFAC
tetradic
#AC46DF #DF6046 #79DF46 #46C6DF
square
#AC46DF #DF6046 #79DF46 #46C6DF
split-complementary
#AC46DF #C6DF46 #46DF60
monochromatic
#691991 #8F22C6 #AC46DF #C37AE8 #DBAEF1

Accessibility & contrast

On white

4.47
#AC46DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AC46DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC46DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC46DF#FFFFFF#000000##000000
##AC46DF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#A6668E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac46df;
/* rgb */ color: rgb(172, 70, 223);
/* oklch */ color: oklch(59.8% 0.228 312.1);
Tailwind
colors: {
  custom: {
    50: '#c981ea',
    500: '#ac46df',
    950: '#000000',
  },
}
SCSS
$custom: #ac46df;
$custom-light: #c981ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac46df",
  "rgb": {
    "r": 172,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 280,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.22831,
    "h": 312.1
  },
  "luminance": 0.18479
}

Semantic roles & 50–950 ramp

primary
#AC46DF
secondary
#B6DFA2
accent
#ED3B76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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