#AA5CED#AA5CED

#AA5CED is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.213 H 305.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AA5CED
RGBrgb(170, 92, 237)
HSLhsl(272, 80%, 65%)
HSVhsv(272, 61%, 93%)
CMYKcmyk(28.3%, 61.2%, 0%, 7.1%)
CIE-LABlab(54.36, 57.44, -61.04)
CIE-LCHlch(54.36, 83.82, 313.26°)
OKLaboklab(63.13% 0.1252 -0.1726)
OKLCHoklch(63.13% 0.213 305.9)
XYZxyz(35.6875, 22.3151, 82.5315)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CED #9FED5C
analogous
#625CED #AA5CED #ED5CE7
triadic
#AA5CED #EDAA5C #5CEDAA
tetradic
#AA5CED #ED625C #9FED5C #5CE7ED
square
#AA5CED #ED625C #9FED5C #5CE7ED
split-complementary
#AA5CED #E7ED5C #5CED62
monochromatic
#6E15BA #8D25E7 #AA5CED #C793F3 #E3CAF9

Accessibility & contrast

On white

3.84
#AA5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AA5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CED
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CED#FFFFFF#000000##000000
##AA5CED1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0180F2
Deuteranopia (green-blind)
#3D82EA
Tritanopia (blue-blind)
#9F7A9C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5ced;
/* rgb */ color: rgb(170, 92, 237);
/* oklch */ color: oklch(63.1% 0.213 305.9);
Tailwind
colors: {
  custom: {
    50: '#c78ef4',
    500: '#aa5ced',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ced;
$custom-light: #c78ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ced",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 272.276,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6313,
    "c": 0.21325,
    "h": 305.9
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#AA5CED
secondary
#D1EBB9
accent
#DC096B
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #AA5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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