#AC2FDB#AC2FDB

#AC2FDB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.5% C 0.249 H 314.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AC2FDB
RGBrgb(172, 47, 219)
HSLhsl(284, 70%, 52%)
HSVhsv(284, 79%, 86%)
CMYKcmyk(21.5%, 78.5%, 0%, 14.1%)
CIE-LABlab(46.87, 72.50, -62.94)
CIE-LCHlch(46.87, 96.01, 319.04°)
OKLaboklab(57.46% 0.1742 -0.1779)
OKLCHoklch(57.46% 0.249 314.4)
XYZxyz(30.8138, 15.9193, 68.4537)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FDB #5EDB2F
analogous
#562FDB #AC2FDB #DB2FB4
triadic
#AC2FDB #DBAC2F #2FDBAC
tetradic
#AC2FDB #DB562F #5EDB2F #2FB4DB
square
#AC2FDB #DB562F #5EDB2F #2FB4DB
split-complementary
#AC2FDB #B4DB2F #2FDB56
monochromatic
#5F157A #871EAF #AC2FDB #C163E4 #D697ED

Accessibility & contrast

On white

5.02
#AC2FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AC2FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FDB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FDB#FFFFFF#000000##FFFFFF
##AC2FDB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#2072D7
Tritanopia (blue-blind)
#A85886
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac2fdb;
/* rgb */ color: rgb(172, 47, 219);
/* oklch */ color: oklch(57.5% 0.249 314.4);
Tailwind
colors: {
  custom: {
    50: '#ca76e7',
    500: '#ac2fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fdb;
$custom-light: #ca76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fdb",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 219
  },
  "hsl": {
    "h": 283.605,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.24897,
    "h": 314.4
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#AC2FDB
secondary
#A2D88D
accent
#ED3B6B
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AC2FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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