#AC5AAA#AC5AAA

#AC5AAA is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.3% C 0.148 H 328.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC5AAA
RGBrgb(172, 90, 170)
HSLhsl(301, 33%, 51%)
HSVhsv(301, 48%, 67%)
CMYKcmyk(0%, 47.7%, 1.2%, 32.5%)
CIE-LABlab(50.67, 45.02, -28.55)
CIE-LCHlch(50.67, 53.30, 327.62°)
OKLaboklab(59.33% 0.1257 -0.0781)
OKLCHoklch(59.33% 0.148 328.1)
XYZxyz(27.9247, 18.9868, 40.2164)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AAA #5AAC5C
analogous
#855AAC #AC5AAA #AC5A81
triadic
#AC5AAA #AAAC5A #5AAAAC
tetradic
#AC5AAA #AC855A #5AAC5C #5A81AC
square
#AC5AAA #AC855A #5AAC5C #5A81AC
split-complementary
#AC5AAA #81AC5A #5AAC85
monochromatic
#5D2F5C #864384 #AC5AAA #C083BF #D5ABD4

Accessibility & contrast

On white

4.38
#AC5AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AC5AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AAA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AAA#FFFFFF#000000##000000
##AC5AAA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#6B7DA7
Tritanopia (blue-blind)
#B1627A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac5aaa;
/* rgb */ color: rgb(172, 90, 170);
/* oklch */ color: oklch(59.3% 0.148 328.1);
Tailwind
colors: {
  custom: {
    50: '#c78cc3',
    500: '#ac5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ac5aaa;
$custom-light: #c78cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5aaa",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 301.463,
    "s": 33.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59326,
    "c": 0.14798,
    "h": 328.1
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#AC5AAA
secondary
#9FC3A0
accent
#C9615F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #AC5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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