#AA50DD#AA50DD

#AA50DD is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.213 H 311.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA50DD
RGBrgb(170, 80, 221)
HSLhsl(278, 67%, 59%)
HSVhsv(278, 64%, 87%)
CMYKcmyk(23.1%, 63.8%, 0%, 13.3%)
CIE-LABlab(51.27, 59.65, -56.99)
CIE-LCHlch(51.27, 82.50, 316.31°)
OKLaboklab(60.58% 0.1397 -0.1607)
OKLCHoklch(60.58% 0.213 311)
XYZxyz(32.4949, 19.5046, 70.4456)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50DD #83DD50
analogous
#6450DD #AA50DD #DD50CA
triadic
#AA50DD #DDAA50 #50DDAA
tetradic
#AA50DD #DD6450 #83DD50 #50CADD
square
#AA50DD #DD6450 #83DD50 #50CADD
split-complementary
#AA50DD #CADD50 #50DD64
monochromatic
#6A1D96 #8E27C9 #AA50DD #C383E7 #DCB6F1

Accessibility & contrast

On white

4.29
#AA50DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AA50DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50DD#FFFFFF#000000##000000
##AA50DD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#A46C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa50dd;
/* rgb */ color: rgb(170, 80, 221);
/* oklch */ color: oklch(60.6% 0.213 311.0);
Tailwind
colors: {
  custom: {
    50: '#c786e8',
    500: '#aa50dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa50dd;
$custom-light: #c786e8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50dd",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 278.298,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60582,
    "c": 0.21293,
    "h": 311
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#AA50DD
secondary
#BDE0A9
accent
#EA3D7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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