#AC5FC2#AC5FC2

#AC5FC2 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.3% C 0.164 H 318.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AC5FC2
RGBrgb(172, 95, 194)
HSLhsl(287, 45%, 57%)
HSVhsv(287, 51%, 76%)
CMYKcmyk(11.3%, 51%, 0%, 23.9%)
CIE-LABlab(52.79, 47.09, -39.15)
CIE-LCHlch(52.79, 61.24, 320.26°)
OKLaboklab(61.26% 0.1222 -0.1087)
OKLCHoklch(61.26% 0.164 318.4)
XYZxyz(30.8418, 20.8512, 53.4285)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FC2 #75C25F
analogous
#7B5FC2 #AC5FC2 #C25FA6
triadic
#AC5FC2 #C2AC5F #5FC2AC
tetradic
#AC5FC2 #C27B5F #75C25F #5FA6C2
square
#AC5FC2 #C27B5F #75C25F #5FA6C2
split-complementary
#AC5FC2 #A6C25F #5FC27B
monochromatic
#682E79 #8E3FA5 #AC5FC2 #C38BD3 #DAB8E4

Accessibility & contrast

On white

4.06
#AC5FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AC5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FC2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FC2#FFFFFF#000000##000000
##AC5FC21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#6481BF
Tritanopia (blue-blind)
#AC6D88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5fc2;
/* rgb */ color: rgb(172, 95, 194);
/* oklch */ color: oklch(61.3% 0.164 318.4);
Tailwind
colors: {
  custom: {
    50: '#c78fd5',
    500: '#ac5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fc2;
$custom-light: #c78fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fc2",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 286.667,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.16352,
    "h": 318.4
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#AC5FC2
secondary
#B3D3AA
accent
#D45370
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AC5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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