#AC5FB2#AC5FB2

#AC5FB2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.5% C 0.147 H 324.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AC5FB2
RGBrgb(172, 95, 178)
HSLhsl(296, 35%, 54%)
HSVhsv(296, 47%, 70%)
CMYKcmyk(3.4%, 46.6%, 0%, 30.2%)
CIE-LABlab(52.03, 43.92, -31.09)
CIE-LCHlch(52.03, 53.81, 324.70°)
OKLaboklab(60.45% 0.1198 -0.0854)
OKLCHoklch(60.45% 0.147 324.5)
XYZxyz(29.1406, 20.1708, 44.4692)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FB2 #65B25F
analogous
#825FB2 #AC5FB2 #B25F8E
triadic
#AC5FB2 #B2AC5F #5FB2AC
tetradic
#AC5FB2 #B2825F #65B25F #5F8EB2
square
#AC5FB2 #B2825F #65B25F #5F8EB2
split-complementary
#AC5FB2 #8EB25F #5FB282
monochromatic
#623166 #8A458F #AC5FB2 #C188C6 #D7B2DA

Accessibility & contrast

On white

4.17
#AC5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AC5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FB2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FB2#FFFFFF#000000##000000
##AC5FB21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#6C7FAF
Tritanopia (blue-blind)
#AF6980
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac5fb2;
/* rgb */ color: rgb(172, 95, 178);
/* oklch */ color: oklch(60.5% 0.147 324.5);
Tailwind
colors: {
  custom: {
    50: '#c68fc9',
    500: '#ac5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fb2;
$custom-light: #c68fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fb2",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 295.663,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.14718,
    "h": 324.5
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#AC5FB2
secondary
#A7C8A5
accent
#CB5D65
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130D13
muted
#827D82

Preview Lab

Preview with #AC5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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