#AA55DB#AA55DB

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

Color values

HEX#AA55DB
RGBrgb(170, 85, 219)
HSLhsl(278, 65%, 60%)
HSVhsv(278, 61%, 86%)
CMYKcmyk(22.4%, 61.2%, 0%, 14.1%)
CIE-LABlab(52.02, 56.86, -54.67)
CIE-LCHlch(52.02, 78.88, 316.13°)
OKLaboklab(61.08% 0.134 -0.1539)
OKLCHoklch(61.08% 0.204 311)
XYZxyz(32.6099, 20.1582, 69.1772)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55DB #86DB55
analogous
#6755DB #AA55DB #DB55C9
triadic
#AA55DB #DBAA55 #55DBAA
tetradic
#AA55DB #DB6755 #86DB55 #55C9DB
square
#AA55DB #DB6755 #86DB55 #55C9DB
split-complementary
#AA55DB #C9DB55 #55DB67
monochromatic
#6B2096 #8F2AC8 #AA55DB #C388E6 #DDBAF0

Accessibility & contrast

On white

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

On black

5.03
#AA55DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55DB#FFFFFF#000000##000000
##AA55DB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78DF
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#A46F90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa55db;
/* rgb */ color: rgb(170, 85, 219);
/* oklch */ color: oklch(61.1% 0.204 311.0);
Tailwind
colors: {
  custom: {
    50: '#c789e7',
    500: '#aa55db',
    950: '#000000',
  },
}
SCSS
$custom: #aa55db;
$custom-light: #c789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55db",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 278.06,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.20402,
    "h": 311
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#AA55DB
secondary
#BFE0AC
accent
#E8407D
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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