#AA5FE7#AA5FE7

#AA5FE7 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.2% C 0.203 H 307.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AA5FE7
RGBrgb(170, 95, 231)
HSLhsl(273, 74%, 64%)
HSVhsv(273, 59%, 91%)
CMYKcmyk(26.4%, 58.9%, 0%, 9.4%)
CIE-LABlab(54.55, 54.58, -57.37)
CIE-LCHlch(54.55, 79.19, 313.57°)
OKLaboklab(63.15% 0.1218 -0.1619)
OKLCHoklch(63.15% 0.203 307)
XYZxyz(35.0906, 22.5004, 78.0802)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE7 #9CE75F
analogous
#665FE7 #AA5FE7 #E75FE0
triadic
#AA5FE7 #E7AA5F #5FE7AA
tetradic
#AA5FE7 #E7665F #9CE75F #5FE0E7
square
#AA5FE7 #E7665F #9CE75F #5FE0E7
split-complementary
#AA5FE7 #E0E75F #5FE766
monochromatic
#6E1BB1 #8E2ADF #AA5FE7 #C694EF #E3C9F7

Accessibility & contrast

On white

3.82
#AA5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AA5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE7#FFFFFF#000000##000000
##AA5FE71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2480EB
Deuteranopia (green-blind)
#4883E4
Tritanopia (blue-blind)
#A07A9A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5fe7;
/* rgb */ color: rgb(170, 95, 231);
/* oklch */ color: oklch(63.2% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#c790ef',
    500: '#aa5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe7;
$custom-light: #c790ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe7",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 273.088,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63155,
    "c": 0.20255,
    "h": 307
  },
  "luminance": 0.225
}

Semantic roles & 50–950 ramp

primary
#AA5FE7
secondary
#CEE9B9
accent
#D60F69
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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