#AA48EB#AA48EB

#AA48EB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.6% C 0.237 H 308.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AA48EB
RGBrgb(170, 72, 235)
HSLhsl(276, 80%, 60%)
HSVhsv(276, 69%, 92%)
CMYKcmyk(27.7%, 69.4%, 0%, 7.8%)
CIE-LABlab(50.90, 66.20, -65.51)
CIE-LCHlch(50.90, 93.13, 315.30°)
OKLaboklab(60.6% 0.147 -0.1856)
OKLCHoklch(60.6% 0.237 308.4)
XYZxyz(33.8872, 19.1795, 80.4980)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48EB #89EB48
analogous
#5948EB #AA48EB #EB48DA
triadic
#AA48EB #EBAA48 #48EBAA
tetradic
#AA48EB #EB5948 #89EB48 #48DAEB
square
#AA48EB #EB5948 #89EB48 #48DAEB
split-complementary
#AA48EB #DAEB48 #48EB59
monochromatic
#6B12A6 #8F18DE #AA48EB #C47FF1 #DDB6F7

Accessibility & contrast

On white

4.34
#AA48EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AA48EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA48EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48EB#FFFFFF#000000##000000
##AA48EB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#1F7AE7
Tritanopia (blue-blind)
#A06C95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa48eb;
/* rgb */ color: rgb(170, 72, 235);
/* oklch */ color: oklch(60.6% 0.237 308.4);
Tailwind
colors: {
  custom: {
    50: '#c883f2',
    500: '#aa48eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa48eb;
$custom-light: #c883f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48eb",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 276.074,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.2368,
    "h": 308.4
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#AA48EB
secondary
#C1E7A8
accent
#DD095D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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