#AA78CF#AA78CF

#AA78CF is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.7% C 0.135 H 309.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AA78CF
RGBrgb(170, 120, 207)
HSLhsl(274, 48%, 64%)
HSVhsv(274, 42%, 81%)
CMYKcmyk(17.9%, 42%, 0%, 18.8%)
CIE-LABlab(58.49, 35.76, -37.61)
CIE-LCHlch(58.49, 51.90, 313.56°)
OKLaboklab(65.67% 0.0863 -0.1044)
OKLCHoklch(65.67% 0.135 309.6)
XYZxyz(34.5544, 26.4845, 62.3111)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78CF #9DCF78
analogous
#7F78CF #AA78CF #CF78C9
triadic
#AA78CF #CFAA78 #78CFAA
tetradic
#AA78CF #CF7F78 #9DCF78 #78C9CF
square
#AA78CF #CF7F78 #9DCF78 #78C9CF
split-complementary
#AA78CF #C9CF78 #78CF7F
monochromatic
#6E3697 #8E4BBF #AA78CF #C6A5DF #E3D2EF

Accessibility & contrast

On white

3.34
#AA78CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AA78CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78CF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78CF#FFFFFF#000000##000000
##AA78CF1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD2
Deuteranopia (green-blind)
#728ECD
Tritanopia (blue-blind)
#A5859A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa78cf;
/* rgb */ color: rgb(170, 120, 207);
/* oklch */ color: oklch(65.7% 0.135 309.6);
Tailwind
colors: {
  custom: {
    50: '#c5a0de',
    500: '#aa78cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa78cf;
$custom-light: #c5a0de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78cf",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 274.483,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.13542,
    "h": 309.6
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

primary
#AA78CF
secondary
#CFE1C2
accent
#BB2B68
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AA78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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