#AA50E7#AA50E7

#AA50E7 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.223 H 308.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AA50E7
RGBrgb(170, 80, 231)
HSLhsl(276, 76%, 61%)
HSVhsv(276, 65%, 91%)
CMYKcmyk(26.4%, 65.4%, 0%, 9.4%)
CIE-LABlab(51.90, 61.81, -61.64)
CIE-LCHlch(51.90, 87.29, 315.08°)
OKLaboklab(61.23% 0.1391 -0.1743)
OKLCHoklch(61.23% 0.223 308.6)
XYZxyz(33.8671, 20.0534, 77.6724)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50E7 #8DE750
analogous
#5E50E7 #AA50E7 #E750D8
triadic
#AA50E7 #E7AA50 #50E7AA
tetradic
#AA50E7 #E75E50 #8DE750 #50D8E7
square
#AA50E7 #E75E50 #8DE750 #50D8E7
split-complementary
#AA50E7 #D8E750 #50E75E
monochromatic
#6C17A6 #8F1EDC #AA50E7 #C486EE #DEBCF6

Accessibility & contrast

On white

4.19
#AA50E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AA50E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50E7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50E7#FFFFFF#000000##000000
##AA50E71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#A17095
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa50e7;
/* rgb */ color: rgb(170, 80, 231);
/* oklch */ color: oklch(61.2% 0.223 308.6);
Tailwind
colors: {
  custom: {
    50: '#c887ef',
    500: '#aa50e7',
    950: '#000000',
  },
}
SCSS
$custom: #aa50e7;
$custom-light: #c887ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50e7",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 275.762,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.22301,
    "h": 308.6
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

primary
#AA50E7
secondary
#C4E6AD
accent
#D80D5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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