#AC2DDB#AC2DDB

#AC2DDB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.3% C 0.251 H 314.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AC2DDB
RGBrgb(172, 45, 219)
HSLhsl(284, 71%, 52%)
HSVhsv(284, 79%, 86%)
CMYKcmyk(21.5%, 79.5%, 0%, 14.1%)
CIE-LABlab(46.66, 73.10, -63.27)
CIE-LCHlch(46.66, 96.68, 319.12°)
OKLaboklab(57.32% 0.1757 -0.1788)
OKLCHoklch(57.32% 0.251 314.5)
XYZxyz(30.7357, 15.7630, 68.4276)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DDB #5CDB2D
analogous
#552DDB #AC2DDB #DB2DB3
triadic
#AC2DDB #DBAC2D #2DDBAC
tetradic
#AC2DDB #DB552D #5CDB2D #2DB3DB
square
#AC2DDB #DB552D #5CDB2D #2DB3DB
split-complementary
#AC2DDB #B3DB2D #2DDB55
monochromatic
#5E1579 #861EAD #AC2DDB #C161E4 #D595ED

Accessibility & contrast

On white

5.06
#AC2DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AC2DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DDB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DDB#FFFFFF#000000##FFFFFF
##AC2DDB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#1E72D7
Tritanopia (blue-blind)
#A85885
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac2ddb;
/* rgb */ color: rgb(172, 45, 219);
/* oklch */ color: oklch(57.3% 0.251 314.5);
Tailwind
colors: {
  custom: {
    50: '#ca76e7',
    500: '#ac2ddb',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ddb;
$custom-light: #ca76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ddb",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 219
  },
  "hsl": {
    "h": 283.793,
    "s": 70.732,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.25071,
    "h": 314.5
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#AC2DDB
secondary
#A0D88C
accent
#ED3A6B
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AC2DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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