#AA51F6#AA51F6

#AA51F6 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.4% C 0.237 H 305.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA51F6
RGBrgb(170, 81, 246)
HSLhsl(272, 90%, 64%)
HSVhsv(272, 67%, 96%)
CMYKcmyk(30.9%, 67.1%, 0%, 3.5%)
CIE-LABlab(53.04, 64.67, -68.20)
CIE-LCHlch(53.04, 93.98, 313.48°)
OKLaboklab(62.36% 0.1366 -0.1936)
OKLCHoklch(62.36% 0.237 305.2)
XYZxyz(36.1509, 21.0850, 89.3362)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51F6 #9DF651
analogous
#5851F6 #AA51F6 #F651EF
triadic
#AA51F6 #F6AA51 #51F6AA
tetradic
#AA51F6 #F65851 #9DF651 #51EFF6
square
#AA51F6 #F65851 #9DF651 #51EFF6
split-complementary
#AA51F6 #EFF651 #51F658
monochromatic
#6E0AC3 #8E17F3 #AA51F6 #C68BF9 #E3C5FC

Accessibility & contrast

On white

4.03
#AA51F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA51F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51F6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51F6#FFFFFF#000000##000000
##AA51F61.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#177FF2
Tritanopia (blue-blind)
#9C769D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa51f6;
/* rgb */ color: rgb(170, 81, 246);
/* oklch */ color: oklch(62.4% 0.237 305.2);
Tailwind
colors: {
  custom: {
    50: '#c888fa',
    500: '#aa51f6',
    950: '#000000',
  },
}
SCSS
$custom: #aa51f6;
$custom-light: #c888fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51f6",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 272.364,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62364,
    "c": 0.23691,
    "h": 305.2
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#AA51F6
secondary
#CFEEB5
accent
#E6006A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA51F6

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

Preview Lab → · Contrast checker → · Palette generator →

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