#AC54CB#AC54CB

#AC54CB is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.190 H 316.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC54CB
RGBrgb(172, 84, 203)
HSLhsl(284, 53%, 56%)
HSVhsv(284, 59%, 80%)
CMYKcmyk(15.3%, 58.6%, 0%, 20.4%)
CIE-LABlab(51.18, 54.46, -46.86)
CIE-LCHlch(51.18, 71.85, 319.29°)
OKLaboklab(60.23% 0.1375 -0.131)
OKLCHoklch(60.23% 0.19 316.4)
XYZxyz(30.9615, 19.4242, 58.6066)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54CB #73CB54
analogous
#7154CB #AC54CB #CB54AF
triadic
#AC54CB #CBAC54 #54CBAC
tetradic
#AC54CB #CB7154 #73CB54 #54AFCB
square
#AC54CB #CB7154 #73CB54 #54AFCB
split-complementary
#AC54CB #AFCB54 #54CB71
monochromatic
#67267E #8E35AD #AC54CB #C383D9 #DAB2E8

Accessibility & contrast

On white

4.30
#AC54CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC54CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54CB#FFFFFF#000000##000000
##AC54CB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CF
Deuteranopia (green-blind)
#557DC8
Tritanopia (blue-blind)
#AA6888
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac54cb;
/* rgb */ color: rgb(172, 84, 203);
/* oklch */ color: oklch(60.2% 0.190 316.4);
Tailwind
colors: {
  custom: {
    50: '#c889db',
    500: '#ac54cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac54cb;
$custom-light: #c889db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54cb",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 284.37,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.18992,
    "h": 316.4
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#AC54CB
secondary
#B2D6A5
accent
#DD4B71
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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