#AA47EB#AA47EB

#AA47EB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.5% C 0.238 H 308.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA47EB
RGBrgb(170, 71, 235)
HSLhsl(276, 80%, 60%)
HSVhsv(276, 70%, 92%)
CMYKcmyk(27.7%, 69.8%, 0%, 7.8%)
CIE-LABlab(50.75, 66.62, -65.75)
CIE-LCHlch(50.75, 93.60, 315.38°)
OKLaboklab(60.49% 0.148 -0.1863)
OKLCHoklch(60.49% 0.238 308.5)
XYZxyz(33.8231, 19.0512, 80.4766)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47EB #88EB47
analogous
#5847EB #AA47EB #EB47DA
triadic
#AA47EB #EBAA47 #47EBAA
tetradic
#AA47EB #EB5847 #88EB47 #47DAEB
square
#AA47EB #EB5847 #88EB47 #47DAEB
split-complementary
#AA47EB #DAEB47 #47EB58
monochromatic
#6B12A6 #8F18DD #AA47EB #C47EF1 #DDB5F7

Accessibility & contrast

On white

4.37
#AA47EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AA47EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47EB#FFFFFF#000000##000000
##AA47EB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa47eb;
/* rgb */ color: rgb(170, 71, 235);
/* oklch */ color: oklch(60.5% 0.238 308.5);
Tailwind
colors: {
  custom: {
    50: '#c882f2',
    500: '#aa47eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa47eb;
$custom-light: #c882f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47eb",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 235
  },
  "hsl": {
    "h": 276.22,
    "s": 80.392,
    "l": 60
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.23797,
    "h": 308.5
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#AA47EB
secondary
#C0E6A7
accent
#F7317F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA47EB

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

Preview Lab → · Contrast checker → · Palette generator →

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