#AA78F2#AA78F2

#AA78F2 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.178 H 300.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AA78F2
RGBrgb(170, 120, 242)
HSLhsl(265, 82%, 71%)
HSVhsv(265, 50%, 95%)
CMYKcmyk(29.8%, 50.4%, 0%, 5.1%)
CIE-LABlab(60.24, 43.93, -54.42)
CIE-LCHlch(60.24, 69.94, 308.91°)
OKLaboklab(67.54% 0.0908 -0.1533)
OKLCHoklch(67.54% 0.178 300.6)
XYZxyz(39.3173, 28.3896, 87.3956)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78F2 #C0F278
analogous
#7883F2 #AA78F2 #E778F2
triadic
#AA78F2 #F2AA78 #78F2AA
tetradic
#AA78F2 #F27883 #C0F278 #78F2E7
square
#AA78F2 #F27883 #C0F278 #78F2E7
split-complementary
#AA78F2 #F2E778 #83F278
monochromatic
#6615DB #8740ED #AA78F2 #CDB0F7 #EDE3FC

Accessibility & contrast

On white

3.14
#AA78F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AA78F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78F2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78F2#FFFFFF#000000##000000
##AA78F21.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#9C8FAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa78f2;
/* rgb */ color: rgb(170, 120, 242);
/* oklch */ color: oklch(67.5% 0.178 300.6);
Tailwind
colors: {
  custom: {
    50: '#c6a0f7',
    500: '#aa78f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa78f2;
$custom-light: #c6a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78f2",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 264.59,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67541,
    "c": 0.17816,
    "h": 300.6
  },
  "luminance": 0.2839
}

Semantic roles & 50–950 ramp

primary
#AA78F2
secondary
#E6F3D3
accent
#DF0786
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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