#AA5FDA#AA5FDA

#AA5FDA is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.188 H 310.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AA5FDA
RGBrgb(170, 95, 218)
HSLhsl(277, 62%, 61%)
HSVhsv(277, 56%, 85%)
CMYKcmyk(22%, 56.4%, 0%, 14.5%)
CIE-LABlab(53.81, 51.67, -51.24)
CIE-LCHlch(53.81, 72.77, 315.24°)
OKLaboklab(62.37% 0.1216 -0.1439)
OKLCHoklch(62.37% 0.188 310.2)
XYZxyz(33.3223, 21.7931, 68.7672)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FDA #8FDA5F
analogous
#6D5FDA #AA5FDA #DA5FCD
triadic
#AA5FDA #DAAA5F #5FDAAA
tetradic
#AA5FDA #DA6D5F #8FDA5F #5FCDDA
square
#AA5FDA #DA6D5F #8FDA5F #5FCDDA
split-complementary
#AA5FDA #CDDA5F #5FDA6D
monochromatic
#6C249B #8F2FCD #AA5FDA #C491E5 #DFC2F1

Accessibility & contrast

On white

3.92
#AA5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AA5FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FDA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FDA#FFFFFF#000000##000000
##AA5FDA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#A47594
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5fda;
/* rgb */ color: rgb(170, 95, 218);
/* oklch */ color: oklch(62.4% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#c68fe6',
    500: '#aa5fda',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fda;
$custom-light: #c68fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fda",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 276.585,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.18838,
    "h": 310.2
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#AA5FDA
secondary
#C5E1B3
accent
#CA1B60
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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