#AA5CDE#AA5CDE

#AA5CDE is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.2% C 0.197 H 309.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AA5CDE
RGBrgb(170, 92, 222)
HSLhsl(276, 66%, 62%)
HSVhsv(276, 59%, 87%)
CMYKcmyk(23.4%, 58.6%, 0%, 12.9%)
CIE-LABlab(53.47, 54.07, -54.05)
CIE-LCHlch(53.47, 76.45, 315.01°)
OKLaboklab(62.19% 0.1254 -0.1521)
OKLCHoklch(62.19% 0.197 309.5)
XYZxyz(33.5870, 21.4749, 71.4688)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CDE #90DE5C
analogous
#695CDE #AA5CDE #DE5CD1
triadic
#AA5CDE #DEAA5C #5CDEAA
tetradic
#AA5CDE #DE695C #90DE5C #5CD1DE
square
#AA5CDE #DE695C #90DE5C #5CD1DE
split-complementary
#AA5CDE #D1DE5C #5CDE69
monochromatic
#6D209F #8F2BD2 #AA5CDE #C58FE8 #DFC2F3

Accessibility & contrast

On white

3.97
#AA5CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AA5CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CDE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CDE#FFFFFF#000000##000000
##AA5CDE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE2
Deuteranopia (green-blind)
#4D81DB
Tritanopia (blue-blind)
#A37494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5cde;
/* rgb */ color: rgb(170, 92, 222);
/* oklch */ color: oklch(62.2% 0.197 309.5);
Tailwind
colors: {
  custom: {
    50: '#c78ee9',
    500: '#aa5cde',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cde;
$custom-light: #c78ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cde",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 276,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.19715,
    "h": 309.5
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#AA5CDE
secondary
#C6E3B3
accent
#CE1760
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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