#AC38CD#AC38CD

#AC38CD is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.228 H 317.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC38CD
RGBrgb(172, 56, 205)
HSLhsl(287, 60%, 51%)
HSVhsv(287, 73%, 80%)
CMYKcmyk(16.1%, 72.7%, 0%, 19.6%)
CIE-LABlab(46.99, 66.83, -54.72)
CIE-LCHlch(46.99, 86.38, 320.69°)
OKLaboklab(57.25% 0.1686 -0.1538)
OKLCHoklch(57.25% 0.228 317.6)
XYZxyz(29.4453, 16.0081, 59.2846)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38CD #59CD38
analogous
#6138CD #AC38CD #CD38A3
triadic
#AC38CD #CDAC38 #38CDAC
tetradic
#AC38CD #CD6138 #59CD38 #38A3CD
square
#AC38CD #CD6138 #59CD38 #38A3CD
split-complementary
#AC38CD #A3CD38 #38CD61
monochromatic
#5C1C6F #8528A0 #AC38CD #C069D9 #D59AE6

Accessibility & contrast

On white

5.00
#AC38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AC38CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38CD#FFFFFF#000000##FFFFFF
##AC38CD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#AB5780
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac38cd;
/* rgb */ color: rgb(172, 56, 205);
/* oklch */ color: oklch(57.3% 0.228 317.6);
Tailwind
colors: {
  custom: {
    50: '#c97add',
    500: '#ac38cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac38cd;
$custom-light: #c97add;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38cd",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 286.711,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.2282,
    "h": 317.6
  },
  "luminance": 0.16007
}

Semantic roles & 50–950 ramp

primary
#AC38CD
secondary
#9ED18F
accent
#E34568
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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