#AA55DF#AA55DF

#AA55DF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.208 H 310.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA55DF
RGBrgb(170, 85, 223)
HSLhsl(277, 68%, 60%)
HSVhsv(277, 62%, 87%)
CMYKcmyk(23.8%, 61.9%, 0%, 12.5%)
CIE-LABlab(52.25, 57.73, -56.55)
CIE-LCHlch(52.25, 80.81, 315.59°)
OKLaboklab(61.33% 0.1339 -0.1594)
OKLCHoklch(61.33% 0.208 310)
XYZxyz(33.1428, 20.3714, 71.9839)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55DF #8ADF55
analogous
#6555DF #AA55DF #DF55CF
triadic
#AA55DF #DFAA55 #55DFAA
tetradic
#AA55DF #DF6555 #8ADF55 #55CFDF
square
#AA55DF #DF6555 #8ADF55 #55CFDF
split-complementary
#AA55DF #CFDF55 #55DF65
monochromatic
#6C1D9C #8F27D0 #AA55DF #C489E9 #DEBCF2

Accessibility & contrast

On white

4.14
#AA55DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA55DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55DF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55DF#FFFFFF#000000##000000
##AA55DF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1179E3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#A37092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa55df;
/* rgb */ color: rgb(170, 85, 223);
/* oklch */ color: oklch(61.3% 0.208 310.0);
Tailwind
colors: {
  custom: {
    50: '#c789ea',
    500: '#aa55df',
    950: '#000000',
  },
}
SCSS
$custom: #aa55df;
$custom-light: #c789ea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55df",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 276.957,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.20815,
    "h": 310
  },
  "luminance": 0.20371
}

Semantic roles & 50–950 ramp

primary
#AA55DF
secondary
#C2E2AE
accent
#D0155D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA55DF

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

Preview Lab → · Contrast checker → · Palette generator →

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