#AA5CFA#AA5CFA

#AA5CFA is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.0% C 0.227 H 303.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AA5CFA
RGBrgb(170, 92, 250)
HSLhsl(270, 94%, 67%)
HSVhsv(270, 63%, 98%)
CMYKcmyk(32%, 63.2%, 0%, 2%)
CIE-LABlab(55.18, 60.43, -66.97)
CIE-LCHlch(55.18, 90.20, 312.06°)
OKLaboklab(63.98% 0.1245 -0.19)
OKLCHoklch(63.98% 0.227 303.2)
XYZxyz(37.6561, 23.1025, 92.8993)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CFA #ACFA5C
analogous
#5C5DFA #AA5CFA #F95CFA
triadic
#AA5CFA #FAAA5C #5CFAAA
tetradic
#AA5CFA #FA5C5D #ACFA5C #5CFAF9
square
#AA5CFA #FA5C5D #ACFA5C #5CFAF9
split-complementary
#AA5CFA #FAF95C #5DFA5C
monochromatic
#6C07D5 #8B21F8 #AA5CFA #C997FC #E8D3FE

Accessibility & contrast

On white

3.74
#AA5CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AA5CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CFA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CFA#FFFFFF#000000##000000
##AA5CFA1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#2984F7
Tritanopia (blue-blind)
#9B7EA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5cfa;
/* rgb */ color: rgb(170, 92, 250);
/* oklch */ color: oklch(64.0% 0.227 303.2);
Tailwind
colors: {
  custom: {
    50: '#c88efd',
    500: '#aa5cfa',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cfa;
$custom-light: #c88efd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cfa",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 250
  },
  "hsl": {
    "h": 269.62,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.22717,
    "h": 303.2
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#AA5CFA
secondary
#D9F2C0
accent
#E60074
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA5CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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