#AC71CB#AC71CB

#AC71CB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.5% C 0.143 H 313.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AC71CB
RGBrgb(172, 113, 203)
HSLhsl(279, 46%, 62%)
HSVhsv(279, 44%, 80%)
CMYKcmyk(15.3%, 44.3%, 0%, 20.4%)
CIE-LABlab(56.97, 39.34, -37.72)
CIE-LCHlch(56.97, 54.50, 316.21°)
OKLaboklab(64.51% 0.098 -0.1046)
OKLCHoklch(64.51% 0.143 313.1)
XYZxyz(33.6961, 24.8934, 59.5182)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71CB #90CB71
analogous
#7F71CB #AC71CB #CB71BD
triadic
#AC71CB #CBAC71 #71CBAC
tetradic
#AC71CB #CB7F71 #90CB71 #71BDCB
square
#AC71CB #CB7F71 #90CB71 #71BDCB
split-complementary
#AC71CB #BDCB71 #71CB7F
monochromatic
#6F348E #9244BB #AC71CB #C69EDB #E0CBEC

Accessibility & contrast

On white

3.51
#AC71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AC71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71CB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71CB#FFFFFF#000000##000000
##AC71CB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#6F8AC9
Tritanopia (blue-blind)
#A97E94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ac71cb;
/* rgb */ color: rgb(172, 113, 203);
/* oklch */ color: oklch(64.5% 0.143 313.1);
Tailwind
colors: {
  custom: {
    50: '#c69bdb',
    500: '#ac71cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac71cb;
$custom-light: #c69bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71cb",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 279.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64514,
    "c": 0.14336,
    "h": 313.1
  },
  "luminance": 0.24893
}

Semantic roles & 50–950 ramp

primary
#AC71CB
secondary
#C7DCBB
accent
#BA2C5D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AC71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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