#AA4EDA#AA4EDA

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

Color values

HEX#AA4EDA
RGBrgb(170, 78, 218)
HSLhsl(279, 65%, 58%)
HSVhsv(279, 64%, 85%)
CMYKcmyk(22%, 64.2%, 0%, 14.5%)
CIE-LABlab(50.75, 59.94, -56.12)
CIE-LCHlch(50.75, 82.11, 316.88°)
OKLaboklab(60.15% 0.1421 -0.1581)
OKLCHoklch(60.15% 0.213 312)
XYZxyz(31.9545, 19.0576, 68.3112)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EDA #7EDA4E
analogous
#644EDA #AA4EDA #DA4EC4
triadic
#AA4EDA #DAAA4E #4EDAAA
tetradic
#AA4EDA #DA644E #7EDA4E #4EC4DA
square
#AA4EDA #DA644E #7EDA4E #4EC4DA
split-complementary
#AA4EDA #C4DA4E #4EDA64
monochromatic
#691E90 #8E29C2 #AA4EDA #C281E5 #DBB3EF

Accessibility & contrast

On white

4.36
#AA4EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA4EDA#FFFFFF#000000##000000
##AA4EDA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#417BD7
Tritanopia (blue-blind)
#A46A8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4eda;
/* rgb */ color: rgb(170, 78, 218);
/* oklch */ color: oklch(60.2% 0.213 312.0);
Tailwind
colors: {
  custom: {
    50: '#c785e6',
    500: '#aa4eda',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eda;
$custom-light: #c785e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eda",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 279.429,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.21261,
    "h": 312
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#AA4EDA
secondary
#B9DEA6
accent
#E83F79
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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