#AC38CF#AC38CF

#AC38CF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.230 H 317.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AC38CF
RGBrgb(172, 56, 207)
HSLhsl(286, 61%, 52%)
HSVhsv(286, 73%, 81%)
CMYKcmyk(16.9%, 72.9%, 0%, 18.8%)
CIE-LABlab(47.11, 67.21, -55.67)
CIE-LCHlch(47.11, 87.27, 320.37°)
OKLaboklab(57.38% 0.1684 -0.1566)
OKLCHoklch(57.38% 0.23 317.1)
XYZxyz(29.6882, 16.1053, 60.5642)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38CF #5BCF38
analogous
#6138CF #AC38CF #CF38A7
triadic
#AC38CF #CFAC38 #38CFAC
tetradic
#AC38CF #CF6138 #5BCF38 #38A7CF
square
#AC38CF #CF6138 #5BCF38 #38A7CF
split-complementary
#AC38CF #A7CF38 #38CF61
monochromatic
#5D1B71 #8627A3 #AC38CF #C169DB #D59BE7

Accessibility & contrast

On white

4.98
#AC38CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AC38CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38CF#FFFFFF#000000##FFFFFF
##AC38CF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#AA5881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac38cf;
/* rgb */ color: rgb(172, 56, 207);
/* oklch */ color: oklch(57.4% 0.230 317.1);
Tailwind
colors: {
  custom: {
    50: '#c97ade',
    500: '#ac38cf',
    950: '#000000',
  },
}
SCSS
$custom: #ac38cf;
$custom-light: #c97ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38cf",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 286.093,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.22994,
    "h": 317.1
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#AC38CF
secondary
#A0D390
accent
#E44469
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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