#AC5FB3#AC5FB3

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

Color values

HEX#AC5FB3
RGBrgb(172, 95, 179)
HSLhsl(295, 36%, 54%)
HSVhsv(295, 47%, 70%)
CMYKcmyk(3.9%, 46.9%, 0%, 29.8%)
CIE-LABlab(52.08, 44.11, -31.60)
CIE-LCHlch(52.08, 54.26, 324.38°)
OKLaboklab(60.5% 0.12 -0.0869)
OKLCHoklch(60.5% 0.148 324.1)
XYZxyz(29.2414, 20.2111, 44.9999)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FB3 #66B35F
analogous
#825FB3 #AC5FB3 #B35F90
triadic
#AC5FB3 #B3AC5F #5FB3AC
tetradic
#AC5FB3 #B3825F #66B35F #5F90B3
square
#AC5FB3 #B3825F #66B35F #5F90B3
split-complementary
#AC5FB3 #90B35F #5FB382
monochromatic
#623167 #8A4590 #AC5FB3 #C288C7 #D7B2DA

Accessibility & contrast

On white

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

On black

5.04
#AC5FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FB3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FB3#FFFFFF#000000##000000
##AC5FB31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B6
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#AF6981
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac5fb3;
/* rgb */ color: rgb(172, 95, 179);
/* oklch */ color: oklch(60.5% 0.148 324.1);
Tailwind
colors: {
  custom: {
    50: '#c68fca',
    500: '#ac5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fb3;
$custom-light: #c68fca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fb3",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 295,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.14818,
    "h": 324.1
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#AC5FB3
secondary
#A8C9A5
accent
#CC5C65
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130D13
muted
#827D82

Preview Lab

Preview with #AC5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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