#AA78EF#AA78EF

#AA78EF is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.175 H 301.3°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AA78EF
RGBrgb(170, 120, 239)
HSLhsl(265, 79%, 70%)
HSVhsv(265, 50%, 94%)
CMYKcmyk(28.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(60.08, 43.21, -53.01)
CIE-LCHlch(60.08, 68.39, 309.18°)
OKLaboklab(67.37% 0.0906 -0.1492)
OKLCHoklch(67.37% 0.175 301.3)
XYZxyz(38.8704, 28.2109, 85.0420)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78EF #BDEF78
analogous
#7881EF #AA78EF #E578EF
triadic
#AA78EF #EFAA78 #78EFAA
tetradic
#AA78EF #EF7881 #BDEF78 #78EFE5
square
#AA78EF #EF7881 #BDEF78 #78EFE5
split-complementary
#AA78EF #EFE578 #81EF78
monochromatic
#6719D4 #8841E9 #AA78EF #CCAFF5 #EEE4FC

Accessibility & contrast

On white

3.16
#AA78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AA78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78EF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78EF#FFFFFF#000000##000000
##AA78EF1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#9D8EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa78ef;
/* rgb */ color: rgb(170, 120, 239);
/* oklch */ color: oklch(67.4% 0.175 301.3);
Tailwind
colors: {
  custom: {
    50: '#c6a0f5',
    500: '#aa78ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa78ef;
$custom-light: #c6a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78ef",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 265.21,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6737,
    "c": 0.17451,
    "h": 301.3
  },
  "luminance": 0.28211
}

Semantic roles & 50–950 ramp

primary
#AA78EF
secondary
#E4F2D1
accent
#DB0A83
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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