#AC2FD3#AC2FD3

#AC2FD3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.242 H 316.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AC2FD3
RGBrgb(172, 47, 211)
HSLhsl(286, 65%, 51%)
HSVhsv(286, 78%, 83%)
CMYKcmyk(18.5%, 77.7%, 0%, 17.3%)
CIE-LABlab(46.32, 70.99, -59.24)
CIE-LCHlch(46.32, 92.46, 320.16°)
OKLaboklab(56.9% 0.1756 -0.167)
OKLCHoklch(56.9% 0.242 316.4)
XYZxyz(29.7858, 15.5081, 63.0398)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FD3 #56D32F
analogous
#5A2FD3 #AC2FD3 #D32FA8
triadic
#AC2FD3 #D3AC2F #2FD3AC
tetradic
#AC2FD3 #D35A2F #56D32F #2FA8D3
square
#AC2FD3 #D35A2F #56D32F #2FA8D3
split-complementary
#AC2FD3 #A8D32F #2FD35A
monochromatic
#5B1870 #8422A2 #AC2FD3 #C062DE #D494E8

Accessibility & contrast

On white

5.12
#AC2FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AC2FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FD3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FD3#FFFFFF#000000##FFFFFF
##AC2FD31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#A95581
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac2fd3;
/* rgb */ color: rgb(172, 47, 211);
/* oklch */ color: oklch(56.9% 0.242 316.4);
Tailwind
colors: {
  custom: {
    50: '#c976e1',
    500: '#ac2fd3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fd3;
$custom-light: #c976e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fd3",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 285.732,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.24232,
    "h": 316.4
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#AC2FD3
secondary
#9CD38A
accent
#E84068
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC2FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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