#AC5FCA#AC5FCA

#AC5FCA is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.7% C 0.172 H 315.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AC5FCA
RGBrgb(172, 95, 202)
HSLhsl(283, 50%, 58%)
HSVhsv(283, 53%, 79%)
CMYKcmyk(14.9%, 53%, 0%, 20.8%)
CIE-LABlab(53.19, 48.75, -43.10)
CIE-LCHlch(53.19, 65.07, 318.52°)
OKLaboklab(61.69% 0.123 -0.1201)
OKLCHoklch(61.69% 0.172 315.7)
XYZxyz(31.7645, 21.2203, 58.2883)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FCA #7DCA5F
analogous
#765FCA #AC5FCA #CA5FB2
triadic
#AC5FCA #CAAC5F #5FCAAC
tetradic
#AC5FCA #CA765F #7DCA5F #5FB2CA
square
#AC5FCA #CA765F #7DCA5F #5FB2CA
split-complementary
#AC5FCA #B2CA5F #5FCA76
monochromatic
#6B2B83 #903BB1 #AC5FCA #C48DD9 #DCBBE8

Accessibility & contrast

On white

4.00
#AC5FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AC5FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FCA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FCA#FFFFFF#000000##000000
##AC5FCA1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ACE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#AA708C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5fca;
/* rgb */ color: rgb(172, 95, 202);
/* oklch */ color: oklch(61.7% 0.172 315.7);
Tailwind
colors: {
  custom: {
    50: '#c78fda',
    500: '#ac5fca',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fca;
$custom-light: #c78fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fca",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 283.178,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.17195,
    "h": 315.7
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#AC5FCA
secondary
#B9D8AD
accent
#DA4E75
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AC5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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