#AC5FD2#AC5FD2

#AC5FD2 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.1% C 0.180 H 313.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AC5FD2
RGBrgb(172, 95, 210)
HSLhsl(280, 56%, 60%)
HSVhsv(280, 55%, 82%)
CMYKcmyk(18.1%, 54.8%, 0%, 17.6%)
CIE-LABlab(53.61, 50.44, -47.00)
CIE-LCHlch(53.61, 68.94, 317.02°)
OKLaboklab(62.14% 0.1237 -0.1315)
OKLCHoklch(62.14% 0.18 313.2)
XYZxyz(32.7363, 21.6091, 63.4068)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FD2 #85D25F
analogous
#735FD2 #AC5FD2 #D25FBF
triadic
#AC5FD2 #D2AC5F #5FD2AC
tetradic
#AC5FD2 #D2735F #85D25F #5FBFD2
square
#AC5FD2 #D2735F #85D25F #5FBFD2
split-complementary
#AC5FD2 #BFD25F #5FD273
monochromatic
#6D288F #9136BE #AC5FD2 #C58FDF #DEBFED

Accessibility & contrast

On white

3.95
#AC5FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AC5FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FD2#FFFFFF#000000##000000
##AC5FD21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#5A82CF
Tritanopia (blue-blind)
#A87290
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac5fd2;
/* rgb */ color: rgb(172, 95, 210);
/* oklch */ color: oklch(62.1% 0.180 313.2);
Tailwind
colors: {
  custom: {
    50: '#c78fe0',
    500: '#ac5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fd2;
$custom-light: #c78fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fd2",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 280.174,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62135,
    "c": 0.18047,
    "h": 313.2
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#AC5FD2
secondary
#BFDDB0
accent
#DF487A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AC5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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