#AC38CB#AC38CB

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

Color values

HEX#AC38CB
RGBrgb(172, 56, 203)
HSLhsl(287, 59%, 51%)
HSVhsv(287, 72%, 80%)
CMYKcmyk(15.3%, 72.4%, 0%, 20.4%)
CIE-LABlab(46.86, 66.46, -53.77)
CIE-LCHlch(46.86, 85.48, 321.02°)
OKLaboklab(57.12% 0.1688 -0.151)
OKLCHoklch(57.12% 0.226 318.2)
XYZxyz(29.2054, 15.9121, 58.0213)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38CB #57CB38
analogous
#6238CB #AC38CB #CB38A0
triadic
#AC38CB #CBAC38 #38CBAC
tetradic
#AC38CB #CB6238 #57CB38 #38A0CB
square
#AC38CB #CB6238 #57CB38 #38A0CB
split-complementary
#AC38CB #A0CB38 #38CB62
monochromatic
#5B1C6C #84299D #AC38CB #C069D8 #D499E4

Accessibility & contrast

On white

5.02
#AC38CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AC38CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38CB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38CB#FFFFFF#000000##FFFFFF
##AC38CB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#AB567F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac38cb;
/* rgb */ color: rgb(172, 56, 203);
/* oklch */ color: oklch(57.1% 0.226 318.2);
Tailwind
colors: {
  custom: {
    50: '#c97adb',
    500: '#ac38cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac38cb;
$custom-light: #c97adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38cb",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 287.347,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.22648,
    "h": 318.2
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#AC38CB
secondary
#9DD08F
accent
#E24667
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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