#AC42BF#AC42BF

#AC42BF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.204 H 321.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC42BF
RGBrgb(172, 66, 191)
HSLhsl(291, 49%, 50%)
HSVhsv(291, 65%, 75%)
CMYKcmyk(9.9%, 65.4%, 0%, 25.1%)
CIE-LABlab(47.53, 60.28, -45.74)
CIE-LCHlch(47.53, 75.67, 322.81°)
OKLaboklab(57.37% 0.159 -0.1276)
OKLCHoklch(57.37% 0.204 321.2)
XYZxyz(28.3644, 16.4301, 50.9574)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC42BF #55BF42
analogous
#6D42BF #AC42BF #BF4293
triadic
#AC42BF #BFAC42 #42BFAC
tetradic
#AC42BF #BF6D42 #55BF42 #4293BF
square
#AC42BF #BF6D42 #55BF42 #4293BF
split-complementary
#AC42BF #93BF42 #42BF6D
monochromatic
#5A2265 #843292 #AC42BF #C070CE #D49DDE

Accessibility & contrast

On white

4.90
#AC42BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AC42BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC42BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC42BF#FFFFFF#000000##FFFFFF
##AC42BF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#AE577B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac42bf;
/* rgb */ color: rgb(172, 66, 191);
/* oklch */ color: oklch(57.4% 0.204 321.2);
Tailwind
colors: {
  custom: {
    50: '#c87ed3',
    500: '#ac42bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac42bf;
$custom-light: #c87ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac42bf",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 290.88,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.20384,
    "h": 321.2
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#AC42BF
secondary
#9BCA93
accent
#D94F64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AC42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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