#AA55E4#AA55E4

#AA55E4 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.213 H 308.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AA55E4
RGBrgb(170, 85, 228)
HSLhsl(276, 73%, 61%)
HSVhsv(276, 63%, 89%)
CMYKcmyk(25.4%, 62.7%, 0%, 10.6%)
CIE-LABlab(52.56, 58.82, -58.88)
CIE-LCHlch(52.56, 83.23, 314.97°)
OKLaboklab(61.65% 0.1337 -0.1663)
OKLCHoklch(61.65% 0.213 308.8)
XYZxyz(33.8269, 20.6450, 75.5866)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55E4 #8FE455
analogous
#6355E4 #AA55E4 #E455D7
triadic
#AA55E4 #E4AA55 #55E4AA
tetradic
#AA55E4 #E46355 #8FE455 #55D7E4
square
#AA55E4 #E46355 #8FE455 #55D7E4
split-complementary
#AA55E4 #D7E455 #55E463
monochromatic
#6C1AA4 #8F23D9 #AA55E4 #C48AEC #DFBFF5

Accessibility & contrast

On white

4.09
#AA55E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AA55E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55E4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55E4#FFFFFF#000000##000000
##AA55E41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#A27295
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa55e4;
/* rgb */ color: rgb(170, 85, 228);
/* oklch */ color: oklch(61.6% 0.213 308.8);
Tailwind
colors: {
  custom: {
    50: '#c78aed',
    500: '#aa55e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa55e4;
$custom-light: #c78aed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55e4",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 275.664,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.21332,
    "h": 308.8
  },
  "luminance": 0.20644
}

Semantic roles & 50–950 ramp

primary
#AA55E4
secondary
#C5E5B0
accent
#D51160
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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