#AA5FDE#AA5FDE

#AA5FDE is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.6% C 0.193 H 309.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AA5FDE
RGBrgb(170, 95, 222)
HSLhsl(275, 66%, 62%)
HSVhsv(275, 57%, 87%)
CMYKcmyk(23.4%, 57.2%, 0%, 12.9%)
CIE-LABlab(54.03, 52.56, -53.14)
CIE-LCHlch(54.03, 74.74, 314.68°)
OKLaboklab(62.61% 0.1217 -0.1495)
OKLCHoklch(62.61% 0.193 309.2)
XYZxyz(33.8520, 22.0049, 71.5571)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FDE #93DE5F
analogous
#6B5FDE #AA5FDE #DE5FD3
triadic
#AA5FDE #DEAA5F #5FDEAA
tetradic
#AA5FDE #DE6B5F #93DE5F #5FD3DE
square
#AA5FDE #DE6B5F #93DE5F #5FD3DE
split-complementary
#AA5FDE #D3DE5F #5FDE6B
monochromatic
#6D21A1 #8F2CD4 #AA5FDE #C592E8 #E0C4F3

Accessibility & contrast

On white

3.89
#AA5FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AA5FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FDE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FDE#FFFFFF#000000##000000
##AA5FDE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#327EE2
Deuteranopia (green-blind)
#5082DB
Tritanopia (blue-blind)
#A37796
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5fde;
/* rgb */ color: rgb(170, 95, 222);
/* oklch */ color: oklch(62.6% 0.193 309.2);
Tailwind
colors: {
  custom: {
    50: '#c690e9',
    500: '#aa5fde',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fde;
$custom-light: #c690e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fde",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 275.433,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62606,
    "c": 0.19273,
    "h": 309.2
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#AA5FDE
secondary
#C8E4B5
accent
#CE1862
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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