#AC78FC#AC78FC

#AC78FC is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.191 H 299.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AC78FC
RGBrgb(172, 120, 252)
HSLhsl(264, 96%, 73%)
HSVhsv(264, 52%, 99%)
CMYKcmyk(31.7%, 52.4%, 0%, 1.2%)
CIE-LABlab(60.99, 46.87, -58.74)
CIE-LCHlch(60.99, 75.15, 308.58°)
OKLaboklab(68.32% 0.0939 -0.1659)
OKLCHoklch(68.32% 0.191 299.5)
XYZxyz(41.2962, 29.2315, 95.5432)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78FC #C8FC78
analogous
#7886FC #AC78FC #EE78FC
triadic
#AC78FC #FCAC78 #78FCAC
tetradic
#AC78FC #FC7886 #C8FC78 #78FCEE
square
#AC78FC #FC7886 #C8FC78 #78FCEE
split-complementary
#AC78FC #FCEE78 #86FC78
monochromatic
#6305F4 #873CFB #AC78FC #D1B4FD #EDE1FE

Accessibility & contrast

On white

3.07
#AC78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AC78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78FC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78FC#FFFFFF#000000##000000
##AC78FC1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#9B92AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac78fc;
/* rgb */ color: rgb(172, 120, 252);
/* oklch */ color: oklch(68.3% 0.191 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a0fe',
    500: '#ac78fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac78fc;
$custom-light: #c8a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78fc",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 263.636,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68318,
    "c": 0.19062,
    "h": 299.5
  },
  "luminance": 0.29232
}

Semantic roles & 50–950 ramp

primary
#AC78FC
secondary
#E9F7D4
accent
#E6008B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AC78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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