#AA5FEF#AA5FEF

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

Color values

HEX#AA5FEF
RGBrgb(170, 95, 239)
HSLhsl(271, 82%, 65%)
HSVhsv(271, 60%, 94%)
CMYKcmyk(28.9%, 60.3%, 0%, 6.3%)
CIE-LABlab(55.03, 56.41, -61.08)
CIE-LCHlch(55.03, 83.14, 312.72°)
OKLaboklab(63.66% 0.1216 -0.1727)
OKLCHoklch(63.66% 0.211 305.2)
XYZxyz(36.2464, 22.9627, 84.1673)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FEF #A4EF5F
analogous
#625FEF #AA5FEF #EF5FEC
triadic
#AA5FEF #EFAA5F #5FEFAA
tetradic
#AA5FEF #EF625F #A4EF5F #5FECEF
square
#AA5FEF #EF625F #A4EF5F #5FECEF
split-complementary
#AA5FEF #ECEF5F #5FEF62
monochromatic
#6D13C0 #8C27E9 #AA5FEF #C897F5 #E5CEFA

Accessibility & contrast

On white

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

On black

5.59
#AA5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FEF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FEF#FFFFFF#000000##000000
##AA5FEF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F82F4
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#9E7C9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5fef;
/* rgb */ color: rgb(170, 95, 239);
/* oklch */ color: oklch(63.7% 0.211 305.2);
Tailwind
colors: {
  custom: {
    50: '#c790f5',
    500: '#aa5fef',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fef;
$custom-light: #c790f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fef",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 271.25,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63659,
    "c": 0.21127,
    "h": 305.2
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#AA5FEF
secondary
#D4EDBD
accent
#DE076E
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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