#AA78CB#AA78CB

#AA78CB is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.5% C 0.131 H 310.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AA78CB
RGBrgb(170, 120, 203)
HSLhsl(276, 44%, 63%)
HSVhsv(276, 41%, 80%)
CMYKcmyk(16.3%, 40.9%, 0%, 20.4%)
CIE-LABlab(58.31, 34.87, -35.63)
CIE-LCHlch(58.31, 49.86, 314.38°)
OKLaboklab(65.47% 0.0855 -0.0987)
OKLCHoklch(65.47% 0.131 310.9)
XYZxyz(34.0716, 26.2913, 59.7682)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78CB #99CB78
analogous
#8078CB #AA78CB #CB78C2
triadic
#AA78CB #CBAA78 #78CBAA
tetradic
#AA78CB #CB8078 #99CB78 #78C2CB
square
#AA78CB #CB8078 #99CB78 #78C2CB
split-complementary
#AA78CB #C2CB78 #78CB80
monochromatic
#6D3891 #8E4CBA #AA78CB #C6A4DC #E2D0ED

Accessibility & contrast

On white

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

On black

6.26
#AA78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78CB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78CB#FFFFFF#000000##000000
##AA78CB1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACE
Deuteranopia (green-blind)
#748DC9
Tritanopia (blue-blind)
#A68498
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa78cb;
/* rgb */ color: rgb(170, 120, 203);
/* oklch */ color: oklch(65.5% 0.131 310.9);
Tailwind
colors: {
  custom: {
    50: '#c4a0db',
    500: '#aa78cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa78cb;
$custom-light: #c4a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78cb",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 276.145,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65472,
    "c": 0.13058,
    "h": 310.9
  },
  "luminance": 0.26291
}

Semantic roles & 50–950 ramp

primary
#AA78CB
secondary
#CCDEC1
accent
#B82E65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AA78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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