#AA5FED#AA5FED

#AA5FED is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.5% C 0.209 H 305.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AA5FED
RGBrgb(170, 95, 237)
HSLhsl(272, 80%, 65%)
HSVhsv(272, 60%, 93%)
CMYKcmyk(28.3%, 59.9%, 0%, 7.1%)
CIE-LABlab(54.91, 55.95, -60.16)
CIE-LCHlch(54.91, 82.15, 312.92°)
OKLaboklab(63.53% 0.1217 -0.17)
OKLCHoklch(63.53% 0.209 305.6)
XYZxyz(35.9525, 22.8452, 82.6199)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FED #A2ED5F
analogous
#635FED #AA5FED #ED5FE9
triadic
#AA5FED #EDAA5F #5FEDAA
tetradic
#AA5FED #ED635F #A2ED5F #5FE9ED
square
#AA5FED #ED635F #A2ED5F #5FE9ED
split-complementary
#AA5FED #E9ED5F #5FED63
monochromatic
#6E15BC #8D28E7 #AA5FED #C796F3 #E4CDF9

Accessibility & contrast

On white

3.77
#AA5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AA5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FED
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FED#FFFFFF#000000##000000
##AA5FED1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1681F2
Deuteranopia (green-blind)
#4184EA
Tritanopia (blue-blind)
#9F7C9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5fed;
/* rgb */ color: rgb(170, 95, 237);
/* oklch */ color: oklch(63.5% 0.209 305.6);
Tailwind
colors: {
  custom: {
    50: '#c790f4',
    500: '#aa5fed',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fed;
$custom-light: #c790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fed",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 271.69,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63531,
    "c": 0.20908,
    "h": 305.6
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#AA5FED
secondary
#D3ECBC
accent
#DC096D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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