#AA55DC#AA55DC

#AA55DC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.205 H 310.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AA55DC
RGBrgb(170, 85, 220)
HSLhsl(278, 66%, 60%)
HSVhsv(278, 61%, 86%)
CMYKcmyk(22.7%, 61.4%, 0%, 13.7%)
CIE-LABlab(52.08, 57.08, -55.14)
CIE-LCHlch(52.08, 79.36, 315.99°)
OKLaboklab(61.14% 0.1339 -0.1553)
OKLCHoklch(61.14% 0.205 310.8)
XYZxyz(32.7419, 20.2111, 69.8726)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55DC #87DC55
analogous
#6755DC #AA55DC #DC55CA
triadic
#AA55DC #DCAA55 #55DCAA
tetradic
#AA55DC #DC6755 #87DC55 #55CADC
square
#AA55DC #DC6755 #87DC55 #55CADC
split-complementary
#AA55DC #CADC55 #55DC67
monochromatic
#6B1F97 #8F2ACA #AA55DC #C388E6 #DDBBF1

Accessibility & contrast

On white

4.17
#AA55DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AA55DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55DC#FFFFFF#000000##000000
##AA55DC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78E0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#A46F91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa55dc;
/* rgb */ color: rgb(170, 85, 220);
/* oklch */ color: oklch(61.1% 0.205 310.8);
Tailwind
colors: {
  custom: {
    50: '#c789e7',
    500: '#aa55dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa55dc;
$custom-light: #c789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55dc",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 277.778,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61143,
    "c": 0.20505,
    "h": 310.8
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#AA55DC
secondary
#C0E0AC
accent
#E93F7E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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