#AC78F2#AC78F2

#AC78F2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.179 H 301.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AC78F2
RGBrgb(172, 120, 242)
HSLhsl(266, 82%, 71%)
HSVhsv(266, 50%, 95%)
CMYKcmyk(28.9%, 50.4%, 0%, 5.1%)
CIE-LABlab(60.44, 44.44, -54.09)
CIE-LCHlch(60.44, 70.01, 309.41°)
OKLaboklab(67.74% 0.0933 -0.1523)
OKLCHoklch(67.74% 0.179 301.5)
XYZxyz(39.7531, 28.6143, 87.4160)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78F2 #BEF278
analogous
#7881F2 #AC78F2 #E978F2
triadic
#AC78F2 #F2AC78 #78F2AC
tetradic
#AC78F2 #F27881 #BEF278 #78F2E9
square
#AC78F2 #F27881 #BEF278 #78F2E9
split-complementary
#AC78F2 #F2E978 #81F278
monochromatic
#6915DB #8A40ED #AC78F2 #CEB0F7 #EEE3FC

Accessibility & contrast

On white

3.12
#AC78F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#AC78F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78F2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78F2#FFFFFF#000000##000000
##AC78F21.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#9F8FAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac78f2;
/* rgb */ color: rgb(172, 120, 242);
/* oklch */ color: oklch(67.7% 0.179 301.5);
Tailwind
colors: {
  custom: {
    50: '#c8a0f7',
    500: '#ac78f2',
    950: '#000000',
  },
}
SCSS
$custom: #ac78f2;
$custom-light: #c8a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78f2",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 265.574,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67737,
    "c": 0.17855,
    "h": 301.5
  },
  "luminance": 0.28614
}

Semantic roles & 50–950 ramp

primary
#AC78F2
secondary
#E5F3D3
accent
#DF0783
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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