#AC79DB#AC79DB

#AC79DB is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.149 H 306.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AC79DB
RGBrgb(172, 121, 219)
HSLhsl(271, 58%, 67%)
HSVhsv(271, 45%, 86%)
CMYKcmyk(21.5%, 44.7%, 0%, 14.1%)
CIE-LABlab(59.49, 38.49, -42.78)
CIE-LCHlch(59.49, 57.55, 311.98°)
OKLaboklab(66.65% 0.0893 -0.1193)
OKLCHoklch(66.65% 0.149 306.8)
XYZxyz(36.6343, 27.5602, 70.3938)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79DB #A8DB79
analogous
#7B79DB #AC79DB #DB79D9
triadic
#AC79DB #DBAC79 #79DBAC
tetradic
#AC79DB #DB7B79 #A8DB79 #79D9DB
square
#AC79DB #DB7B79 #A8DB79 #79D9DB
split-complementary
#AC79DB #D9DB79 #79DB7B
monochromatic
#6F2EAC #8E49CE #AC79DB #CAA9E8 #E8D9F5

Accessibility & contrast

On white

3.22
#AC79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AC79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79DB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79DB#FFFFFF#000000##000000
##AC79DB1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDF
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#A589A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac79db;
/* rgb */ color: rgb(172, 121, 219);
/* oklch */ color: oklch(66.6% 0.149 306.8);
Tailwind
colors: {
  custom: {
    50: '#c6a1e6',
    500: '#ac79db',
    950: '#000000',
  },
}
SCSS
$custom: #ac79db;
$custom-light: #c6a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79db",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 271.224,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66648,
    "c": 0.14901,
    "h": 306.8
  },
  "luminance": 0.2756
}

Semantic roles & 50–950 ramp

primary
#AC79DB
secondary
#D7E8C8
accent
#C5206F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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