#AC78DA#AC78DA

#AC78DA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.4% C 0.149 H 307.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AC78DA
RGBrgb(172, 120, 218)
HSLhsl(272, 57%, 66%)
HSVhsv(272, 45%, 85%)
CMYKcmyk(21.1%, 45%, 0%, 14.5%)
CIE-LABlab(59.22, 38.82, -42.65)
CIE-LCHlch(59.22, 57.67, 312.31°)
OKLaboklab(66.43% 0.0905 -0.1189)
OKLCHoklch(66.43% 0.149 307.3)
XYZxyz(36.3821, 27.2659, 69.6623)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78DA #A6DA78
analogous
#7B78DA #AC78DA #DA78D7
triadic
#AC78DA #DAAC78 #78DAAC
tetradic
#AC78DA #DA7B78 #A6DA78 #78D7DA
square
#AC78DA #DA7B78 #A6DA78 #78D7DA
split-complementary
#AC78DA #D7DA78 #78DA7B
monochromatic
#702EA9 #8E48CD #AC78DA #CAA8E7 #E7D8F4

Accessibility & contrast

On white

3.25
#AC78DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#AC78DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78DA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78DA#FFFFFF#000000##000000
##AC78DA1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDE
Deuteranopia (green-blind)
#6D8FD7
Tritanopia (blue-blind)
#A5889F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac78da;
/* rgb */ color: rgb(172, 120, 218);
/* oklch */ color: oklch(66.4% 0.149 307.3);
Tailwind
colors: {
  custom: {
    50: '#c6a0e6',
    500: '#ac78da',
    950: '#000000',
  },
}
SCSS
$custom: #ac78da;
$custom-light: #c6a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78da",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 271.837,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.14943,
    "h": 307.3
  },
  "luminance": 0.27266
}

Semantic roles & 50–950 ramp

primary
#AC78DA
secondary
#D6E7C7
accent
#C5216E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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