#AA7CED#AA7CED

#AA7CED is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.166 H 300.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AA7CED
RGBrgb(170, 124, 237)
HSLhsl(264, 76%, 71%)
HSVhsv(264, 48%, 93%)
CMYKcmyk(28.3%, 47.7%, 0%, 7.1%)
CIE-LABlab(60.85, 40.52, -50.68)
CIE-LCHlch(60.85, 64.89, 308.64°)
OKLaboklab(67.91% 0.0851 -0.1424)
OKLCHoklch(67.91% 0.166 300.9)
XYZxyz(39.0678, 29.0756, 83.6583)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CED #BFED7C
analogous
#7C86ED #AA7CED #E37CED
triadic
#AA7CED #EDAA7C #7CEDAA
tetradic
#AA7CED #ED7C86 #BFED7C #7CEDE3
square
#AA7CED #ED7C86 #BFED7C #7CEDE3
split-complementary
#AA7CED #EDE37C #86ED7C
monochromatic
#661DD2 #8746E6 #AA7CED #CDB2F4 #EEE4FB

Accessibility & contrast

On white

3.08
#AA7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AA7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CED
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CED#FFFFFF#000000##000000
##AA7CED1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#9D91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7ced;
/* rgb */ color: rgb(170, 124, 237);
/* oklch */ color: oklch(67.9% 0.166 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6a3f3',
    500: '#aa7ced',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ced;
$custom-light: #c6a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ced",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 264.425,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6791,
    "c": 0.16588,
    "h": 300.9
  },
  "luminance": 0.29076
}

Semantic roles & 50–950 ramp

primary
#AA7CED
secondary
#E5F2D3
accent
#D80D86
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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