#AA6CE4#AA6CE4

#AA6CE4 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.180 H 305.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA6CE4
RGBrgb(170, 108, 228)
HSLhsl(271, 69%, 66%)
HSVhsv(271, 53%, 89%)
CMYKcmyk(25.4%, 52.6%, 0%, 10.6%)
CIE-LABlab(56.95, 47.12, -51.86)
CIE-LCHlch(56.95, 70.07, 312.26°)
OKLaboklab(64.86% 0.1053 -0.1458)
OKLCHoklch(64.86% 0.18 305.9)
XYZxyz(35.9408, 24.8729, 76.2913)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6CE4 #A6E46C
analogous
#6E6CE4 #AA6CE4 #E46CE2
triadic
#AA6CE4 #E4AA6C #6CE4AA
tetradic
#AA6CE4 #E46E6C #A6E46C #6CE2E4
square
#AA6CE4 #E46E6C #A6E46C #6CE2E4
split-complementary
#AA6CE4 #E2E46C #6CE46E
monochromatic
#6D21B4 #8C38DB #AA6CE4 #C8A0ED #E6D3F7

Accessibility & contrast

On white

3.51
#AA6CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AA6CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6CE4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6CE4#FFFFFF#000000##000000
##AA6CE41.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E8
Deuteranopia (green-blind)
#5989E1
Tritanopia (blue-blind)
#A1829E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6ce4;
/* rgb */ color: rgb(170, 108, 228);
/* oklch */ color: oklch(64.9% 0.180 305.9);
Tailwind
colors: {
  custom: {
    50: '#c698ed',
    500: '#aa6ce4',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ce4;
$custom-light: #c698ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ce4",
  "rgb": {
    "r": 170,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 271,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6486,
    "c": 0.17983,
    "h": 305.9
  },
  "luminance": 0.24873
}

Semantic roles & 50–950 ramp

primary
#AA6CE4
secondary
#D5EAC2
accent
#D11570
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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