#AC38DB#AC38DB

#AC38DB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.240 H 314.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AC38DB
RGBrgb(172, 56, 219)
HSLhsl(283, 69%, 54%)
HSVhsv(283, 74%, 86%)
CMYKcmyk(21.5%, 74.4%, 0%, 14.1%)
CIE-LABlab(47.90, 69.53, -61.27)
CIE-LCHlch(47.90, 92.68, 318.61°)
OKLaboklab(58.19% 0.1668 -0.173)
OKLCHoklch(58.19% 0.24 314)
XYZxyz(31.2114, 16.7145, 68.5862)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38DB #67DB38
analogous
#5B38DB #AC38DB #DB38B9
triadic
#AC38DB #DBAC38 #38DBAC
tetradic
#AC38DB #DB5B38 #67DB38 #38B9DB
square
#AC38DB #DB5B38 #67DB38 #38B9DB
split-complementary
#AC38DB #B9DB38 #38DB5B
monochromatic
#631781 #8A21B5 #AC38DB #C26CE4 #D7A0EE

Accessibility & contrast

On white

4.84
#AC38DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AC38DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38DB#FFFFFF#000000##FFFFFF
##AC38DB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#2B74D8
Tritanopia (blue-blind)
#A75D88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac38db;
/* rgb */ color: rgb(172, 56, 219);
/* oklch */ color: oklch(58.2% 0.240 314.0);
Tailwind
colors: {
  custom: {
    50: '#c97ae7',
    500: '#ac38db',
    950: '#000000',
  },
}
SCSS
$custom: #ac38db;
$custom-light: #c97ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38db",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 282.699,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.24037,
    "h": 314
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#AC38DB
secondary
#A9DA95
accent
#EC3C6F
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AC38DB

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

Preview Lab → · Contrast checker → · Palette generator →

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