#AC38D9#AC38D9

#AC38D9 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.239 H 314.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC38D9
RGBrgb(172, 56, 217)
HSLhsl(283, 68%, 54%)
HSVhsv(283, 74%, 85%)
CMYKcmyk(20.7%, 74.2%, 0%, 14.9%)
CIE-LABlab(47.76, 69.14, -60.35)
CIE-LCHlch(47.76, 91.77, 318.88°)
OKLaboklab(58.05% 0.1671 -0.1703)
OKLCHoklch(58.05% 0.239 314.5)
XYZxyz(30.9497, 16.6098, 67.2079)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38D9 #65D938
analogous
#5B38D9 #AC38D9 #D938B5
triadic
#AC38D9 #D9AC38 #38D9AC
tetradic
#AC38D9 #D95B38 #65D938 #38B5D9
square
#AC38D9 #D95B38 #65D938 #38B5D9
split-complementary
#AC38D9 #B5D938 #38D95B
monochromatic
#62187E #8A22B2 #AC38D9 #C16BE3 #D79FED

Accessibility & contrast

On white

4.86
#AC38D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AC38D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38D9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38D9#FFFFFF#000000##FFFFFF
##AC38D91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#2E74D6
Tritanopia (blue-blind)
#A85C86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac38d9;
/* rgb */ color: rgb(172, 56, 217);
/* oklch */ color: oklch(58.1% 0.239 314.5);
Tailwind
colors: {
  custom: {
    50: '#c97ae6',
    500: '#ac38d9',
    950: '#000000',
  },
}
SCSS
$custom: #ac38d9;
$custom-light: #c97ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38d9",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 283.23,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.23862,
    "h": 314.5
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#AC38D9
secondary
#A7D994
accent
#EB3D6E
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AC38D9

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

Preview Lab → · Contrast checker → · Palette generator →

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