#AA50E6#AA50E6

#AA50E6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.222 H 308.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AA50E6
RGBrgb(170, 80, 230)
HSLhsl(276, 75%, 61%)
HSVhsv(276, 65%, 90%)
CMYKcmyk(26.1%, 65.2%, 0%, 9.8%)
CIE-LABlab(51.83, 61.59, -61.18)
CIE-LCHlch(51.83, 86.81, 315.19°)
OKLaboklab(61.17% 0.1392 -0.173)
OKLCHoklch(61.17% 0.222 308.8)
XYZxyz(33.7263, 19.9971, 76.9307)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50E6 #8CE650
analogous
#5F50E6 #AA50E6 #E650D7
triadic
#AA50E6 #E6AA50 #50E6AA
tetradic
#AA50E6 #E65F50 #8CE650 #50D7E6
square
#AA50E6 #E65F50 #8CE650 #50D7E6
split-complementary
#AA50E6 #D7E650 #50E65F
monochromatic
#6C17A4 #8F1FDA #AA50E6 #C486EE #DEBBF5

Accessibility & contrast

On white

4.20
#AA50E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AA50E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50E6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50E6#FFFFFF#000000##000000
##AA50E61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#A16F94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa50e6;
/* rgb */ color: rgb(170, 80, 230);
/* oklch */ color: oklch(61.2% 0.222 308.8);
Tailwind
colors: {
  custom: {
    50: '#c887ef',
    500: '#aa50e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa50e6;
$custom-light: #c887ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50e6",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 276,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.22199,
    "h": 308.8
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#AA50E6
secondary
#C3E5AC
accent
#D70E5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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