#AC2FB7#AC2FB7

#AC2FB7 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.220 H 324.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC2FB7
RGBrgb(172, 47, 183)
HSLhsl(295, 59%, 45%)
HSVhsv(295, 74%, 72%)
CMYKcmyk(6%, 74.3%, 0%, 28.2%)
CIE-LABlab(44.55, 65.95, -45.82)
CIE-LCHlch(44.55, 80.30, 325.21°)
OKLaboklab(55.09% 0.1785 -0.1277)
OKLCHoklch(55.09% 0.22 324.4)
XYZxyz(26.5763, 14.2243, 46.1363)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FB7 #3AB72F
analogous
#682FB7 #AC2FB7 #B72F7E
triadic
#AC2FB7 #B7AC2F #2FB7AC
tetradic
#AC2FB7 #B7682F #3AB72F #2F7EB7
square
#AC2FB7 #B7682F #3AB72F #2F7EB7
split-complementary
#AC2FB7 #7EB72F #2FB768
monochromatic
#501656 #7E2286 #AC2FB7 #C851D2 #D782DF

Accessibility & contrast

On white

5.46
#AC2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AC2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FB7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FB7#FFFFFF#000000##FFFFFF
##AC2FB71.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#4A6EB4
Tritanopia (blue-blind)
#AF4871
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2fb7;
/* rgb */ color: rgb(172, 47, 183);
/* oklch */ color: oklch(55.1% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#c975cd',
    500: '#ac2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fb7;
$custom-light: #c975cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fb7",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 295.147,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.21951,
    "h": 324.4
  },
  "luminance": 0.14223
}

Semantic roles & 50–950 ramp

primary
#AC2FB7
secondary
#80C87A
accent
#E24552
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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