#AC5DBA#AC5DBA

#AC5DBA is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.6% C 0.159 H 321.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AC5DBA
RGBrgb(172, 93, 186)
HSLhsl(291, 40%, 55%)
HSVhsv(291, 50%, 73%)
CMYKcmyk(7.5%, 50%, 0%, 27.1%)
CIE-LABlab(52.00, 46.52, -35.77)
CIE-LCHlch(52.00, 58.69, 322.44°)
OKLaboklab(60.55% 0.124 -0.0989)
OKLCHoklch(60.55% 0.159 321.4)
XYZxyz(29.7895, 20.1458, 48.7642)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DBA #6BBA5D
analogous
#7E5DBA #AC5DBA #BA5D99
triadic
#AC5DBA #BAAC5D #5DBAAC
tetradic
#AC5DBA #BA7E5D #6BBA5D #5D99BA
square
#AC5DBA #BA7E5D #6BBA5D #5D99BA
split-complementary
#AC5DBA #99BA5D #5DBA7E
monochromatic
#642F6E #8C4199 #AC5DBA #C288CC #D8B3DF

Accessibility & contrast

On white

4.18
#AC5DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5DBA#FFFFFF#000000##000000
##AC5DBA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#667FB7
Tritanopia (blue-blind)
#AE6983
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac5dba;
/* rgb */ color: rgb(172, 93, 186);
/* oklch */ color: oklch(60.6% 0.159 321.4);
Tailwind
colors: {
  custom: {
    50: '#c78ecf',
    500: '#ac5dba',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dba;
$custom-light: #c78ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dba",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 290.968,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.15858,
    "h": 321.4
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#AC5DBA
secondary
#ACCDA6
accent
#D0586A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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