#AA4DE2#AA4DE2

#AA4DE2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.222 H 310.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA4DE2
RGBrgb(170, 77, 226)
HSLhsl(277, 72%, 59%)
HSVhsv(277, 66%, 89%)
CMYKcmyk(24.8%, 65.9%, 0%, 11.4%)
CIE-LABlab(51.09, 62.09, -60.12)
CIE-LCHlch(51.09, 86.43, 315.92°)
OKLaboklab(60.55% 0.1427 -0.1698)
OKLCHoklch(60.55% 0.222 310)
XYZxyz(32.9562, 19.3455, 73.9347)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DE2 #85E24D
analogous
#604DE2 #AA4DE2 #E24DCF
triadic
#AA4DE2 #E2AA4D #4DE2AA
tetradic
#AA4DE2 #E2604D #85E24D #4DCFE2
square
#AA4DE2 #E2604D #85E24D #4DCFE2
split-complementary
#AA4DE2 #CFE24D #4DE260
monochromatic
#6A199B #8F22D0 #AA4DE2 #C382EB #DCB6F3

Accessibility & contrast

On white

4.31
#AA4DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AA4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4DE2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DE2#FFFFFF#000000##000000
##AA4DE21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#A26C91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa4de2;
/* rgb */ color: rgb(170, 77, 226);
/* oklch */ color: oklch(60.5% 0.222 310.0);
Tailwind
colors: {
  custom: {
    50: '#c785ec',
    500: '#aa4de2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4de2;
$custom-light: #c785ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4de2",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 277.45,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.22186,
    "h": 310
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#AA4DE2
secondary
#BEE2A8
accent
#EF397D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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