#AA51EA#AA51EA

#AA51EA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.225 H 307.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA51EA
RGBrgb(170, 81, 234)
HSLhsl(275, 78%, 62%)
HSVhsv(275, 65%, 92%)
CMYKcmyk(27.4%, 65.4%, 0%, 8.2%)
CIE-LABlab(52.26, 62.01, -62.75)
CIE-LCHlch(52.26, 88.22, 314.66°)
OKLaboklab(61.55% 0.1378 -0.1776)
OKLCHoklch(61.55% 0.225 307.8)
XYZxyz(34.3682, 20.3719, 79.9476)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51EA #91EA51
analogous
#5E51EA #AA51EA #EA51DE
triadic
#AA51EA #EAAA51 #51EAAA
tetradic
#AA51EA #EA5E51 #91EA51 #51DEEA
square
#AA51EA #EA5E51 #91EA51 #51DEEA
split-complementary
#AA51EA #DEEA51 #51EA5E
monochromatic
#6D15AC #8F1BE2 #AA51EA #C588F1 #DFBEF7

Accessibility & contrast

On white

4.14
#AA51EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA51EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51EA#FFFFFF#000000##000000
##AA51EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#A07197
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa51ea;
/* rgb */ color: rgb(170, 81, 234);
/* oklch */ color: oklch(61.6% 0.225 307.8);
Tailwind
colors: {
  custom: {
    50: '#c887f2',
    500: '#aa51ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa51ea;
$custom-light: #c887f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51ea",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 274.902,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.22475,
    "h": 307.8
  },
  "luminance": 0.20371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA51EA

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

Preview Lab → · Contrast checker → · Palette generator →

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