#AA48E5#AA48E5

#AA48E5 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.2% C 0.231 H 309.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AA48E5
RGBrgb(170, 72, 229)
HSLhsl(277, 75%, 59%)
HSVhsv(277, 69%, 90%)
CMYKcmyk(25.8%, 68.6%, 0%, 10.2%)
CIE-LABlab(50.50, 64.92, -62.77)
CIE-LCHlch(50.50, 90.30, 315.96°)
OKLaboklab(60.19% 0.1477 -0.1776)
OKLCHoklch(60.19% 0.231 309.8)
XYZxyz(33.0350, 18.8386, 76.0095)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48E5 #83E548
analogous
#5C48E5 #AA48E5 #E548D2
triadic
#AA48E5 #E5AA48 #48E5AA
tetradic
#AA48E5 #E55C48 #83E548 #48D2E5
square
#AA48E5 #E55C48 #83E548 #48D2E5
split-complementary
#AA48E5 #D2E548 #48E55C
monochromatic
#6A169C #8E1ED2 #AA48E5 #C37EED #DCB3F4

Accessibility & contrast

On white

4.40
#AA48E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AA48E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA48E5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48E5#FFFFFF#000000##000000
##AA48E51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#A26A91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa48e5;
/* rgb */ color: rgb(170, 72, 229);
/* oklch */ color: oklch(60.2% 0.231 309.8);
Tailwind
colors: {
  custom: {
    50: '#c882ee',
    500: '#aa48e5',
    950: '#000000',
  },
}
SCSS
$custom: #aa48e5;
$custom-light: #c882ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48e5",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 277.452,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60188,
    "c": 0.23101,
    "h": 309.8
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#AA48E5
secondary
#BDE3A6
accent
#F2367D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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