#AA48E4#AA48E4

#AA48E4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.230 H 310.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA48E4
RGBrgb(170, 72, 228)
HSLhsl(278, 74%, 59%)
HSVhsv(278, 68%, 89%)
CMYKcmyk(25.4%, 68.4%, 0%, 10.6%)
CIE-LABlab(50.43, 64.71, -62.31)
CIE-LCHlch(50.43, 89.83, 316.08°)
OKLaboklab(60.12% 0.1479 -0.1762)
OKLCHoklch(60.12% 0.23 310)
XYZxyz(32.8958, 18.7829, 75.2763)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48E4 #82E448
analogous
#5C48E4 #AA48E4 #E448D0
triadic
#AA48E4 #E4AA48 #48E4AA
tetradic
#AA48E4 #E45C48 #82E448 #48D0E4
square
#AA48E4 #E45C48 #82E448 #48D0E4
split-complementary
#AA48E4 #D0E448 #48E45C
monochromatic
#6A179B #8E1FD0 #AA48E4 #C37DEC #DCB3F4

Accessibility & contrast

On white

4.42
#AA48E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AA48E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA48E4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48E4#FFFFFF#000000##000000
##AA48E41.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa48e4;
/* rgb */ color: rgb(170, 72, 228);
/* oklch */ color: oklch(60.1% 0.230 310.0);
Tailwind
colors: {
  custom: {
    50: '#c882ed',
    500: '#aa48e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa48e4;
$custom-light: #c882ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48e4",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 277.692,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.23004,
    "h": 310
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#AA48E4
secondary
#BCE3A5
accent
#F1377C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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