#AA4EDC#AA4EDC

#AA4EDC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.215 H 311.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA4EDC
RGBrgb(170, 78, 220)
HSLhsl(279, 67%, 58%)
HSVhsv(279, 65%, 86%)
CMYKcmyk(22.7%, 64.5%, 0%, 13.7%)
CIE-LABlab(50.88, 60.36, -57.06)
CIE-LCHlch(50.88, 83.06, 316.61°)
OKLaboklab(60.28% 0.142 -0.1609)
OKLCHoklch(60.28% 0.215 311.4)
XYZxyz(32.2178, 19.1629, 69.6979)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EDC #80DC4E
analogous
#634EDC #AA4EDC #DC4EC7
triadic
#AA4EDC #DCAA4E #4EDCAA
tetradic
#AA4EDC #DC634E #80DC4E #4EC7DC
square
#AA4EDC #DC634E #80DC4E #4EC7DC
split-complementary
#AA4EDC #C7DC4E #4EDC63
monochromatic
#691D93 #8E27C6 #AA4EDC #C381E6 #DBB4F0

Accessibility & contrast

On white

4.35
#AA4EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AA4EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EDC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EDC#FFFFFF#000000##000000
##AA4EDC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#A46A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4edc;
/* rgb */ color: rgb(170, 78, 220);
/* oklch */ color: oklch(60.3% 0.215 311.4);
Tailwind
colors: {
  custom: {
    50: '#c785e8',
    500: '#aa4edc',
    950: '#000000',
  },
}
SCSS
$custom: #aa4edc;
$custom-light: #c785e8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4edc",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 278.873,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.2146,
    "h": 311.4
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#AA4EDC
secondary
#BBDFA7
accent
#EA3E7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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