#AC2EDA#AC2EDA

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

Color values

HEX#AC2EDA
RGBrgb(172, 46, 218)
HSLhsl(284, 70%, 52%)
HSVhsv(284, 79%, 85%)
CMYKcmyk(21.1%, 78.9%, 0%, 14.5%)
CIE-LABlab(46.69, 72.61, -62.65)
CIE-LCHlch(46.69, 95.90, 319.21°)
OKLaboklab(57.32% 0.1752 -0.177)
OKLCHoklch(57.32% 0.249 314.7)
XYZxyz(30.6430, 15.7877, 67.7492)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EDA #5CDA2E
analogous
#562EDA #AC2EDA #DA2EB2
triadic
#AC2EDA #DAAC2E #2EDAAC
tetradic
#AC2EDA #DA562E #5CDA2E #2EB2DA
square
#AC2EDA #DA562E #5CDA2E #2EB2DA
split-complementary
#AC2EDA #B2DA2E #2EDA56
monochromatic
#5E1578 #861FAC #AC2EDA #C162E3 #D596EC

Accessibility & contrast

On white

5.05
#AC2EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AC2EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EDA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EDA#FFFFFF#000000##FFFFFF
##AC2EDA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#2172D6
Tritanopia (blue-blind)
#A85885
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac2eda;
/* rgb */ color: rgb(172, 46, 218);
/* oklch */ color: oklch(57.3% 0.249 314.7);
Tailwind
colors: {
  custom: {
    50: '#ca76e6',
    500: '#ac2eda',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eda;
$custom-light: #ca76e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eda",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 218
  },
  "hsl": {
    "h": 283.953,
    "s": 69.919,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.24903,
    "h": 314.7
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#AC2EDA
secondary
#A0D88C
accent
#ED3B6B
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AC2EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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