#AA48E1#AA48E1

#AA48E1 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.9% C 0.227 H 310.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA48E1
RGBrgb(170, 72, 225)
HSLhsl(278, 72%, 58%)
HSVhsv(278, 68%, 88%)
CMYKcmyk(24.4%, 68%, 0%, 11.8%)
CIE-LABlab(50.24, 64.07, -60.93)
CIE-LCHlch(50.24, 88.41, 316.44°)
OKLaboklab(59.92% 0.1482 -0.1722)
OKLCHoklch(59.92% 0.227 310.7)
XYZxyz(32.4829, 18.6178, 73.1020)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48E1 #7FE148
analogous
#5D48E1 #AA48E1 #E148CC
triadic
#AA48E1 #E1AA48 #48E1AA
tetradic
#AA48E1 #E15D48 #7FE148 #48CCE1
square
#AA48E1 #E15D48 #7FE148 #48CCE1
split-complementary
#AA48E1 #CCE148 #48E15D
monochromatic
#691996 #8E21CB #AA48E1 #C27DEA #DBB1F2

Accessibility & contrast

On white

4.45
#AA48E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AA48E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA48E1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48E1#FFFFFF#000000##000000
##AA48E11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#3279DE
Tritanopia (blue-blind)
#A3698F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa48e1;
/* rgb */ color: rgb(170, 72, 225);
/* oklch */ color: oklch(59.9% 0.227 310.7);
Tailwind
colors: {
  custom: {
    50: '#c882eb',
    500: '#aa48e1',
    950: '#000000',
  },
}
SCSS
$custom: #aa48e1;
$custom-light: #c882eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48e1",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 278.431,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.22715,
    "h": 310.7
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#AA48E1
secondary
#BAE1A4
accent
#EF397A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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