#AC45CB#AC45CB

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

Color values

HEX#AC45CB
RGBrgb(172, 69, 203)
HSLhsl(286, 56%, 53%)
HSVhsv(286, 66%, 80%)
CMYKcmyk(15.3%, 66%, 0%, 20.4%)
CIE-LABlab(48.69, 61.31, -50.84)
CIE-LCHlch(48.69, 79.65, 320.33°)
OKLaboklab(58.43% 0.1554 -0.1425)
OKLCHoklch(58.43% 0.211 317.5)
XYZxyz(29.9193, 17.3399, 58.2593)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45CB #64CB45
analogous
#6945CB #AC45CB #CB45A7
triadic
#AC45CB #CBAC45 #45CBAC
tetradic
#AC45CB #CB6945 #64CB45 #45A7CB
square
#AC45CB #CB6945 #64CB45 #45A7CB
split-complementary
#AC45CB #A7CB45 #45CB69
monochromatic
#612175 #892EA5 #AC45CB #C175D8 #D7A5E6

Accessibility & contrast

On white

4.70
#AC45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AC45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45CB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45CB#FFFFFF#000000##FFFFFF
##AC45CB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#AB5E82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac45cb;
/* rgb */ color: rgb(172, 69, 203);
/* oklch */ color: oklch(58.4% 0.211 317.5);
Tailwind
colors: {
  custom: {
    50: '#c880db',
    500: '#ac45cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac45cb;
$custom-light: #c880db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45cb",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 286.119,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58426,
    "c": 0.21084,
    "h": 317.5
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#AC45CB
secondary
#A6D399
accent
#E0486B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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