#AC5FBD#AC5FBD

#AC5FBD is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.158 H 320.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AC5FBD
RGBrgb(172, 95, 189)
HSLhsl(289, 42%, 56%)
HSVhsv(289, 50%, 74%)
CMYKcmyk(9%, 49.7%, 0%, 25.9%)
CIE-LABlab(52.54, 46.08, -36.66)
CIE-LCHlch(52.54, 58.88, 321.50°)
OKLaboklab(61% 0.1216 -0.1014)
OKLCHoklch(61% 0.158 320.2)
XYZxyz(30.2896, 20.6304, 50.5208)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FBD #70BD5F
analogous
#7D5FBD #AC5FBD #BD5F9F
triadic
#AC5FBD #BDAC5F #5FBDAC
tetradic
#AC5FBD #BD7D5F #70BD5F #5F9FBD
square
#AC5FBD #BD7D5F #70BD5F #5F9FBD
split-complementary
#AC5FBD #9FBD5F #5FBD7D
monochromatic
#662F72 #8D419E #AC5FBD #C28ACF #D9B6E1

Accessibility & contrast

On white

4.10
#AC5FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AC5FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FBD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FBD#FFFFFF#000000##000000
##AC5FBD1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#AD6C85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5fbd;
/* rgb */ color: rgb(172, 95, 189);
/* oklch */ color: oklch(61.0% 0.158 320.2);
Tailwind
colors: {
  custom: {
    50: '#c78fd1',
    500: '#ac5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fbd;
$custom-light: #c78fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fbd",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 289.149,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.15833,
    "h": 320.2
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#AC5FBD
secondary
#AFCFA8
accent
#D1566D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AC5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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