#AA5CF2#AA5CF2

#AA5CF2 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.5% C 0.219 H 304.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA5CF2
RGBrgb(170, 92, 242)
HSLhsl(271, 85%, 65%)
HSVhsv(271, 62%, 95%)
CMYKcmyk(29.8%, 62%, 0%, 5.1%)
CIE-LABlab(54.67, 58.58, -63.34)
CIE-LCHlch(54.67, 86.28, 312.77°)
OKLaboklab(63.45% 0.125 -0.1794)
OKLCHoklch(63.45% 0.219 304.9)
XYZxyz(36.4282, 22.6113, 86.4325)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF2 #A4F25C
analogous
#5F5CF2 #AA5CF2 #F25CEF
triadic
#AA5CF2 #F2AA5C #5CF2AA
tetradic
#AA5CF2 #F25F5C #A4F25C #5CEFF2
square
#AA5CF2 #F25F5C #A4F25C #5CEFF2
split-complementary
#AA5CF2 #EFF25C #5CF25F
monochromatic
#6D10C4 #8C23ED #AA5CF2 #C895F7 #E5CDFB

Accessibility & contrast

On white

3.80
#AA5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AA5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CF2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CF2#FFFFFF#000000##000000
##AA5CF21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#3683EF
Tritanopia (blue-blind)
#9D7B9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5cf2;
/* rgb */ color: rgb(170, 92, 242);
/* oklch */ color: oklch(63.5% 0.219 304.9);
Tailwind
colors: {
  custom: {
    50: '#c88ef7',
    500: '#aa5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf2;
$custom-light: #c88ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf2",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 271.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63454,
    "c": 0.2186,
    "h": 304.9
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#AA5CF2
secondary
#D4EEBC
accent
#E2046E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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