#AC72DB#AC72DB

#AC72DB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.160 H 308.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AC72DB
RGBrgb(172, 114, 219)
HSLhsl(273, 59%, 65%)
HSVhsv(273, 48%, 86%)
CMYKcmyk(21.5%, 47.9%, 0%, 14.1%)
CIE-LABlab(57.96, 42.34, -45.19)
CIE-LCHlch(57.96, 61.93, 313.13°)
OKLaboklab(65.51% 0.0989 -0.1263)
OKLCHoklch(65.51% 0.16 308.1)
XYZxyz(35.8143, 25.9202, 70.1205)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72DB #A1DB72
analogous
#7772DB #AC72DB #DB72D5
triadic
#AC72DB #DBAC72 #72DBAC
tetradic
#AC72DB #DB7772 #A1DB72 #72D5DB
square
#AC72DB #DB7772 #A1DB72 #72D5DB
split-complementary
#AC72DB #D5DB72 #72DB77
monochromatic
#702BA8 #8F41CF #AC72DB #C9A3E7 #E5D4F4

Accessibility & contrast

On white

3.40
#AC72DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AC72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72DB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72DB#FFFFFF#000000##000000
##AC72DB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#A5839C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac72db;
/* rgb */ color: rgb(172, 114, 219);
/* oklch */ color: oklch(65.5% 0.160 308.1);
Tailwind
colors: {
  custom: {
    50: '#c79ce6',
    500: '#ac72db',
    950: '#000000',
  },
}
SCSS
$custom: #ac72db;
$custom-light: #c79ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72db",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 273.143,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65506,
    "c": 0.16042,
    "h": 308.1
  },
  "luminance": 0.2592
}

Semantic roles & 50–950 ramp

primary
#AC72DB
secondary
#D3E6C3
accent
#C71F6A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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