#AA48E6#AA48E6

#AA48E6 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.3% C 0.232 H 309.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA48E6
RGBrgb(170, 72, 230)
HSLhsl(277, 76%, 59%)
HSVhsv(277, 69%, 90%)
CMYKcmyk(26.1%, 68.7%, 0%, 9.8%)
CIE-LABlab(50.56, 65.13, -63.23)
CIE-LCHlch(50.56, 90.77, 315.85°)
OKLaboklab(60.26% 0.1476 -0.1789)
OKLCHoklch(60.26% 0.232 309.5)
XYZxyz(33.1750, 18.8946, 76.7470)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48E6 #84E648
analogous
#5B48E6 #AA48E6 #E648D3
triadic
#AA48E6 #E6AA48 #48E6AA
tetradic
#AA48E6 #E65B48 #84E648 #48D3E6
square
#AA48E6 #E65B48 #84E648 #48D3E6
split-complementary
#AA48E6 #D3E648 #48E65B
monochromatic
#6A169E #8E1DD4 #AA48E6 #C37EED #DCB4F5

Accessibility & contrast

On white

4.39
#AA48E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AA48E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA48E6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48E6#FFFFFF#000000##000000
##AA48E61.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#2A7AE3
Tritanopia (blue-blind)
#A16B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa48e6;
/* rgb */ color: rgb(170, 72, 230);
/* oklch */ color: oklch(60.3% 0.232 309.5);
Tailwind
colors: {
  custom: {
    50: '#c882ef',
    500: '#aa48e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa48e6;
$custom-light: #c882ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48e6",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 277.215,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.23198,
    "h": 309.5
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#AA48E6
secondary
#BDE4A6
accent
#F3357D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA48E6

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

Preview Lab → · Contrast checker → · Palette generator →

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