#AA5CE2#AA5CE2

#AA5CE2 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.201 H 308.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA5CE2
RGBrgb(170, 92, 226)
HSLhsl(275, 70%, 62%)
HSVhsv(275, 59%, 89%)
CMYKcmyk(24.8%, 59.3%, 0%, 11.4%)
CIE-LABlab(53.70, 54.96, -55.93)
CIE-LCHlch(53.70, 78.41, 314.50°)
OKLaboklab(62.44% 0.1254 -0.1576)
OKLCHoklch(62.44% 0.201 308.5)
XYZxyz(34.1294, 21.6918, 74.3258)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CE2 #94E25C
analogous
#675CE2 #AA5CE2 #E25CD7
triadic
#AA5CE2 #E2AA5C #5CE2AA
tetradic
#AA5CE2 #E2675C #94E25C #5CD7E2
square
#AA5CE2 #E2675C #94E25C #5CD7E2
split-complementary
#AA5CE2 #D7E25C #5CE267
monochromatic
#6D1EA6 #8F28D9 #AA5CE2 #C590EB #E0C4F4

Accessibility & contrast

On white

3.93
#AA5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AA5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CE2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CE2#FFFFFF#000000##000000
##AA5CE21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE6
Deuteranopia (green-blind)
#4981DF
Tritanopia (blue-blind)
#A27696
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5ce2;
/* rgb */ color: rgb(170, 92, 226);
/* oklch */ color: oklch(62.4% 0.201 308.5);
Tailwind
colors: {
  custom: {
    50: '#c78eec',
    500: '#aa5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ce2;
$custom-light: #c78eec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ce2",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 274.925,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62437,
    "c": 0.20144,
    "h": 308.5
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#AA5CE2
secondary
#C9E5B4
accent
#D21463
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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