#AC45CA#AC45CA

#AC45CA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.210 H 317.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AC45CA
RGBrgb(172, 69, 202)
HSLhsl(286, 56%, 53%)
HSVhsv(286, 66%, 79%)
CMYKcmyk(14.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(48.63, 61.11, -50.36)
CIE-LCHlch(48.63, 79.19, 320.51°)
OKLaboklab(58.37% 0.1554 -0.1411)
OKLCHoklch(58.37% 0.21 317.8)
XYZxyz(29.8005, 17.2924, 57.6337)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45CA #63CA45
analogous
#6945CA #AC45CA #CA45A6
triadic
#AC45CA #CAAC45 #45CAAC
tetradic
#AC45CA #CA6945 #63CA45 #45A6CA
square
#AC45CA #CA6945 #63CA45 #45A6CA
split-complementary
#AC45CA #A6CA45 #45CA69
monochromatic
#612174 #892FA3 #AC45CA #C175D8 #D7A4E5

Accessibility & contrast

On white

4.71
#AC45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AC45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45CA#FFFFFF#000000##FFFFFF
##AC45CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#AB5D82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac45ca;
/* rgb */ color: rgb(172, 69, 202);
/* oklch */ color: oklch(58.4% 0.210 317.8);
Tailwind
colors: {
  custom: {
    50: '#c880db',
    500: '#ac45ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac45ca;
$custom-light: #c880db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45ca",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 286.466,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.20991,
    "h": 317.8
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#AC45CA
secondary
#A6D299
accent
#DF496B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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