#AC71DB#AC71DB

#AC71DB is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.162 H 308.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AC71DB
RGBrgb(172, 113, 219)
HSLhsl(273, 60%, 65%)
HSVhsv(273, 48%, 86%)
CMYKcmyk(21.5%, 48.4%, 0%, 14.1%)
CIE-LABlab(57.75, 42.89, -45.53)
CIE-LCHlch(57.75, 62.55, 313.29°)
OKLaboklab(65.35% 0.1003 -0.1273)
OKLCHoklch(65.35% 0.162 308.2)
XYZxyz(35.7021, 25.6958, 70.0831)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71DB #A0DB71
analogous
#7771DB #AC71DB #DB71D5
triadic
#AC71DB #DBAC71 #71DBAC
tetradic
#AC71DB #DB7771 #A0DB71 #71D5DB
square
#AC71DB #DB7771 #A0DB71 #71D5DB
split-complementary
#AC71DB #D5DB71 #71DB77
monochromatic
#702AA7 #8F40CF #AC71DB #C9A2E7 #E5D3F4

Accessibility & contrast

On white

3.42
#AC71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AC71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71DB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71DB#FFFFFF#000000##000000
##AC71DB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#668BD8
Tritanopia (blue-blind)
#A5839C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac71db;
/* rgb */ color: rgb(172, 113, 219);
/* oklch */ color: oklch(65.3% 0.162 308.2);
Tailwind
colors: {
  custom: {
    50: '#c79be6',
    500: '#ac71db',
    950: '#000000',
  },
}
SCSS
$custom: #ac71db;
$custom-light: #c79be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71db",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 273.396,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.16204,
    "h": 308.2
  },
  "luminance": 0.25695
}

Semantic roles & 50–950 ramp

primary
#AC71DB
secondary
#D2E6C2
accent
#C71E69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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