#AA78FC#AA78FC

#AA78FC is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.190 H 298.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AA78FC
RGBrgb(170, 120, 252)
HSLhsl(263, 96%, 73%)
HSVhsv(263, 52%, 99%)
CMYKcmyk(32.5%, 52.4%, 0%, 1.2%)
CIE-LABlab(60.79, 46.38, -59.07)
CIE-LCHlch(60.79, 75.10, 308.14°)
OKLaboklab(68.13% 0.0915 -0.1669)
OKLCHoklch(68.13% 0.19 298.7)
XYZxyz(40.8605, 29.0069, 95.5228)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78FC #CAFC78
analogous
#7888FC #AA78FC #EC78FC
triadic
#AA78FC #FCAA78 #78FCAA
tetradic
#AA78FC #FC7888 #CAFC78 #78FCEC
square
#AA78FC #FC7888 #CAFC78 #78FCEC
split-complementary
#AA78FC #FCEC78 #88FC78
monochromatic
#6005F4 #843CFB #AA78FC #D0B4FD #ECE1FE

Accessibility & contrast

On white

3.09
#AA78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AA78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78FC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78FC#FFFFFF#000000##000000
##AA78FC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#9892AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa78fc;
/* rgb */ color: rgb(170, 120, 252);
/* oklch */ color: oklch(68.1% 0.190 298.7);
Tailwind
colors: {
  custom: {
    50: '#c7a0fe',
    500: '#aa78fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa78fc;
$custom-light: #c7a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78fc",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 262.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68126,
    "c": 0.19032,
    "h": 298.7
  },
  "luminance": 0.29007
}

Semantic roles & 50–950 ramp

primary
#AA78FC
secondary
#EAF7D4
accent
#E6008F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AA78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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