Barney#AC1DB8

#AC1DB8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 54.0% C 0.236 H 324.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Barney — editorial page

Color values

HEX#AC1DB8
RGBrgb(172, 29, 184)
HSLhsl(295, 73%, 42%)
HSVhsv(295, 84%, 72%)
CMYKcmyk(6.5%, 84.2%, 0%, 27.8%)
CIE-LABlab(42.93, 70.99, -49.00)
CIE-LCHlch(42.93, 86.26, 325.39°)
OKLaboklab(53.96% 0.1918 -0.1369)
OKLCHoklch(53.96% 0.236 324.5)
XYZxyz(26.1037, 13.1118, 46.4940)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1DB8 #29B81D
analogous
#5F1DB8 #AC1DB8 #B81D77
triadic
#AC1DB8 #B8AC1D #1DB8AC
tetradic
#AC1DB8 #B85F1D #29B81D #1D77B8
square
#AC1DB8 #B85F1D #29B81D #1D77B8
split-complementary
#AC1DB8 #77B81D #1DB85F
monochromatic
#490C4E #7B1583 #AC1DB8 #D233DF #DD68E7

Accessibility & contrast

On white

5.80
#AC1DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC1DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1DB8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1DB8#FFFFFF#000000##FFFFFF
##AC1DB81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#AF3F6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac1db8;
/* rgb */ color: rgb(172, 29, 184);
/* oklch */ color: oklch(54.0% 0.236 324.5);
Tailwind
colors: {
  custom: {
    50: '#c96fce',
    500: '#ac1db8',
    950: '#000000',
  },
}
SCSS
$custom: #ac1db8;
$custom-light: #c96fce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1db8",
  "rgb": {
    "r": 172,
    "g": 29,
    "b": 184
  },
  "hsl": {
    "h": 295.355,
    "s": 72.77,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.23568,
    "h": 324.5
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#AC1DB8
secondary
#6CCD64
accent
#EF3847
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140814
muted
#827B82

Preview Lab

Preview with #AC1DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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