#AC2FE2#AC2FE2

#AC2FE2 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 58.0% C 0.255 H 312.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AC2FE2
RGBrgb(172, 47, 226)
HSLhsl(282, 76%, 54%)
HSVhsv(282, 79%, 89%)
CMYKcmyk(23.9%, 79.2%, 0%, 11.4%)
CIE-LABlab(47.36, 73.84, -66.13)
CIE-LCHlch(47.36, 99.13, 318.15°)
OKLaboklab(57.96% 0.1729 -0.1872)
OKLCHoklch(57.96% 0.255 312.7)
XYZxyz(31.7547, 16.2956, 73.4094)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FE2 #65E22F
analogous
#522FE2 #AC2FE2 #E22FBF
triadic
#AC2FE2 #E2AC2F #2FE2AC
tetradic
#AC2FE2 #E2522F #65E22F #2FBFE2
square
#AC2FE2 #E2522F #65E22F #2FBFE2
split-complementary
#AC2FE2 #BFE22F #2FE252
monochromatic
#621284 #8A1ABA #AC2FE2 #C165E9 #D79AF1

Accessibility & contrast

On white

4.93
#AC2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AC2FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FE2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FE2#FFFFFF#000000##FFFFFF
##AC2FE21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0973DE
Tritanopia (blue-blind)
#A65C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac2fe2;
/* rgb */ color: rgb(172, 47, 226);
/* oklch */ color: oklch(58.0% 0.255 312.7);
Tailwind
colors: {
  custom: {
    50: '#ca77ec',
    500: '#ac2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fe2;
$custom-light: #ca77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fe2",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 281.899,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.25483,
    "h": 312.7
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#AC2FE2
secondary
#A7DD90
accent
#F2366F
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AC2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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