#AA48E2#AA48E2

#AA48E2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.0% C 0.228 H 310.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA48E2
RGBrgb(170, 72, 226)
HSLhsl(278, 73%, 58%)
HSVhsv(278, 68%, 89%)
CMYKcmyk(24.8%, 68.1%, 0%, 11.4%)
CIE-LABlab(50.30, 64.28, -61.39)
CIE-LCHlch(50.30, 88.89, 316.32°)
OKLaboklab(59.99% 0.1481 -0.1735)
OKLCHoklch(59.99% 0.228 310.5)
XYZxyz(32.6198, 18.6725, 73.8225)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48E2 #80E248
analogous
#5D48E2 #AA48E2 #E248CD
triadic
#AA48E2 #E2AA48 #48E2AA
tetradic
#AA48E2 #E25D48 #80E248 #48CDE2
square
#AA48E2 #E25D48 #80E248 #48CDE2
split-complementary
#AA48E2 #CDE248 #48E25D
monochromatic
#691898 #8E20CC #AA48E2 #C37DEA #DBB2F3

Accessibility & contrast

On white

4.44
#AA48E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AA48E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA48E2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48E2#FFFFFF#000000##000000
##AA48E21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#A26990
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa48e2;
/* rgb */ color: rgb(170, 72, 226);
/* oklch */ color: oklch(60.0% 0.228 310.5);
Tailwind
colors: {
  custom: {
    50: '#c882ec',
    500: '#aa48e2',
    950: '#000000',
  },
}
SCSS
$custom: #aa48e2;
$custom-light: #c882ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48e2",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 278.182,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.22811,
    "h": 310.5
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#AA48E2
secondary
#BBE1A4
accent
#EF387B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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