#AC38CA#AC38CA

#AC38CA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.226 H 318.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AC38CA
RGBrgb(172, 56, 202)
HSLhsl(288, 58%, 51%)
HSVhsv(288, 72%, 79%)
CMYKcmyk(14.9%, 72.3%, 0%, 20.8%)
CIE-LABlab(46.80, 66.27, -53.29)
CIE-LCHlch(46.80, 85.04, 321.19°)
OKLaboklab(57.06% 0.1689 -0.1496)
OKLCHoklch(57.06% 0.226 318.5)
XYZxyz(29.0866, 15.8646, 57.3957)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38CA #56CA38
analogous
#6338CA #AC38CA #CA389F
triadic
#AC38CA #CAAC38 #38CAAC
tetradic
#AC38CA #CA6338 #56CA38 #389FCA
square
#AC38CA #CA6338 #56CA38 #389FCA
split-complementary
#AC38CA #9FCA38 #38CA63
monochromatic
#5B1D6B #84299B #AC38CA #C068D7 #D499E4

Accessibility & contrast

On white

5.03
#AC38CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AC38CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38CA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38CA#FFFFFF#000000##FFFFFF
##AC38CA1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#AB557E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac38ca;
/* rgb */ color: rgb(172, 56, 202);
/* oklch */ color: oklch(57.1% 0.226 318.5);
Tailwind
colors: {
  custom: {
    50: '#c97adb',
    500: '#ac38ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac38ca;
$custom-light: #c97adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38ca",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 287.671,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.22562,
    "h": 318.5
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#AC38CA
secondary
#9CCF8E
accent
#E14766
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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