#AA5FEE#AA5FEE

#AA5FEE is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.6% C 0.210 H 305.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AA5FEE
RGBrgb(170, 95, 238)
HSLhsl(271, 81%, 65%)
HSVhsv(271, 60%, 93%)
CMYKcmyk(28.6%, 60.1%, 0%, 6.7%)
CIE-LABlab(54.97, 56.18, -60.62)
CIE-LCHlch(54.97, 82.65, 312.82°)
OKLaboklab(63.6% 0.1217 -0.1714)
OKLCHoklch(63.6% 0.21 305.4)
XYZxyz(36.0990, 22.9038, 83.3915)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FEE #A3EE5F
analogous
#635FEE #AA5FEE #EE5FEA
triadic
#AA5FEE #EEAA5F #5FEEAA
tetradic
#AA5FEE #EE635F #A3EE5F #5FEAEE
square
#AA5FEE #EE635F #A3EE5F #5FEAEE
split-complementary
#AA5FEE #EAEE5F #5FEE63
monochromatic
#6D14BE #8D28E8 #AA5FEE #C796F4 #E5CEFA

Accessibility & contrast

On white

3.76
#AA5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AA5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FEE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FEE#FFFFFF#000000##000000
##AA5FEE1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F3
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#9E7C9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5fee;
/* rgb */ color: rgb(170, 95, 238);
/* oklch */ color: oklch(63.6% 0.210 305.4);
Tailwind
colors: {
  custom: {
    50: '#c790f4',
    500: '#aa5fee',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fee;
$custom-light: #c790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fee",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 271.469,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.21017,
    "h": 305.4
  },
  "luminance": 0.22904
}

Semantic roles & 50–950 ramp

primary
#AA5FEE
secondary
#D3ECBC
accent
#DD086E
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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