#AA50DF#AA50DF

#AA50DF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.215 H 310.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA50DF
RGBrgb(170, 80, 223)
HSLhsl(278, 69%, 59%)
HSVhsv(278, 64%, 87%)
CMYKcmyk(23.8%, 64.1%, 0%, 12.5%)
CIE-LABlab(51.40, 60.08, -57.93)
CIE-LCHlch(51.40, 83.46, 316.05°)
OKLaboklab(60.71% 0.1396 -0.1634)
OKLCHoklch(60.71% 0.215 310.5)
XYZxyz(32.7630, 19.6118, 71.8573)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50DF #85DF50
analogous
#6350DF #AA50DF #DF50CD
triadic
#AA50DF #DFAA50 #50DFAA
tetradic
#AA50DF #DF6350 #85DF50 #50CDDF
square
#AA50DF #DF6350 #85DF50 #50CDDF
split-complementary
#AA50DF #CDDF50 #50DF63
monochromatic
#6A1C99 #8F25CC #AA50DF #C384E8 #DCB7F2

Accessibility & contrast

On white

4.27
#AA50DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AA50DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50DF#FFFFFF#000000##000000
##AA50DF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#A36D91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa50df;
/* rgb */ color: rgb(170, 80, 223);
/* oklch */ color: oklch(60.7% 0.215 310.5);
Tailwind
colors: {
  custom: {
    50: '#c787ea',
    500: '#aa50df',
    950: '#000000',
  },
}
SCSS
$custom: #aa50df;
$custom-light: #c787ea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50df",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 277.762,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.21495,
    "h": 310.5
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#AA50DF
secondary
#BEE1AA
accent
#EC3C7D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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