#AA78CA#AA78CA

#AA78CA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.4% C 0.129 H 311.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA78CA
RGBrgb(170, 120, 202)
HSLhsl(277, 44%, 63%)
HSVhsv(277, 41%, 79%)
CMYKcmyk(15.8%, 40.6%, 0%, 20.8%)
CIE-LABlab(58.27, 34.65, -35.14)
CIE-LCHlch(58.27, 49.35, 314.60°)
OKLaboklab(65.42% 0.0853 -0.0973)
OKLCHoklch(65.42% 0.129 311.3)
XYZxyz(33.9528, 26.2438, 59.1426)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78CA #98CA78
analogous
#8178CA #AA78CA #CA78C1
triadic
#AA78CA #CAAA78 #78CAAA
tetradic
#AA78CA #CA8178 #98CA78 #78C1CA
square
#AA78CA #CA8178 #98CA78 #78C1CA
split-complementary
#AA78CA #C1CA78 #78CA81
monochromatic
#6D388F #8E4CB9 #AA78CA #C6A4DB #E1D0ED

Accessibility & contrast

On white

3.36
#AA78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AA78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78CA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78CA#FFFFFF#000000##000000
##AA78CA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACD
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#A78497
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa78ca;
/* rgb */ color: rgb(170, 120, 202);
/* oklch */ color: oklch(65.4% 0.129 311.3);
Tailwind
colors: {
  custom: {
    50: '#c4a0da',
    500: '#aa78ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa78ca;
$custom-light: #c4a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78ca",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 276.585,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65424,
    "c": 0.12937,
    "h": 311.3
  },
  "luminance": 0.26243
}

Semantic roles & 50–950 ramp

primary
#AA78CA
secondary
#CCDEC0
accent
#B72F64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AA78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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