#AA50EB#AA50EB

#AA50EB is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.227 H 307.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AA50EB
RGBrgb(170, 80, 235)
HSLhsl(275, 79%, 62%)
HSVhsv(275, 66%, 92%)
CMYKcmyk(27.7%, 66%, 0%, 7.8%)
CIE-LABlab(52.15, 62.69, -63.47)
CIE-LCHlch(52.15, 89.21, 314.64°)
OKLaboklab(61.5% 0.1388 -0.1797)
OKLCHoklch(61.5% 0.227 307.7)
XYZxyz(34.4385, 20.2820, 80.6817)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50EB #91EB50
analogous
#5D50EB #AA50EB #EB50DE
triadic
#AA50EB #EBAA50 #50EBAA
tetradic
#AA50EB #EB5D50 #91EB50 #50DEEB
square
#AA50EB #EB5D50 #91EB50 #50DEEB
split-complementary
#AA50EB #DEEB50 #50EB5D
monochromatic
#6D14AD #8F1AE4 #AA50EB #C587F1 #DFBEF8

Accessibility & contrast

On white

4.15
#AA50EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AA50EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50EB#FFFFFF#000000##000000
##AA50EB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#2E7DE8
Tritanopia (blue-blind)
#A07197
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa50eb;
/* rgb */ color: rgb(170, 80, 235);
/* oklch */ color: oklch(61.5% 0.227 307.7);
Tailwind
colors: {
  custom: {
    50: '#c887f2',
    500: '#aa50eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa50eb;
$custom-light: #c887f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50eb",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 274.839,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61498,
    "c": 0.22704,
    "h": 307.7
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#AA50EB
secondary
#C7E8AF
accent
#DC0A62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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