#AC5FBB#AC5FBB

#AC5FBB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.9% C 0.156 H 320.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AC5FBB
RGBrgb(172, 95, 187)
HSLhsl(290, 40%, 55%)
HSVhsv(290, 49%, 73%)
CMYKcmyk(8%, 49.2%, 0%, 26.7%)
CIE-LABlab(52.45, 45.68, -35.65)
CIE-LCHlch(52.45, 57.95, 322.03°)
OKLaboklab(60.9% 0.1213 -0.0985)
OKLCHoklch(60.9% 0.156 320.9)
XYZxyz(30.0741, 20.5441, 49.3853)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FBB #6EBB5F
analogous
#7E5FBB #AC5FBB #BB5F9C
triadic
#AC5FBB #BBAC5F #5FBBAC
tetradic
#AC5FBB #BB7E5F #6EBB5F #5F9CBB
square
#AC5FBB #BB7E5F #6EBB5F #5F9CBB
split-complementary
#AC5FBB #9CBB5F #5FBB7E
monochromatic
#653070 #8C429B #AC5FBB #C28ACD #D9B5E0

Accessibility & contrast

On white

4.11
#AC5FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AC5FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FBB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FBB#FFFFFF#000000##000000
##AC5FBB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#AD6B84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5fbb;
/* rgb */ color: rgb(172, 95, 187);
/* oklch */ color: oklch(60.9% 0.156 320.9);
Tailwind
colors: {
  custom: {
    50: '#c78fd0',
    500: '#ac5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fbb;
$custom-light: #c78fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fbb",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 290.217,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.15627,
    "h": 320.9
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

primary
#AC5FBB
secondary
#AECEA8
accent
#D0586B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AC5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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