#AA4ECB#AA4ECB

#AA4ECB is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.198 H 316.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AA4ECB
RGBrgb(170, 78, 203)
HSLhsl(284, 55%, 55%)
HSVhsv(284, 62%, 80%)
CMYKcmyk(16.3%, 61.6%, 0%, 20.4%)
CIE-LABlab(49.87, 56.82, -48.97)
CIE-LCHlch(49.87, 75.01, 319.25°)
OKLaboklab(59.22% 0.1425 -0.1372)
OKLCHoklch(59.22% 0.198 316.1)
XYZxyz(30.0798, 18.3077, 58.4376)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ECB #6FCB4E
analogous
#6B4ECB #AA4ECB #CB4EAD
triadic
#AA4ECB #CBAA4E #4ECBAA
tetradic
#AA4ECB #CB6B4E #6FCB4E #4EADCB
square
#AA4ECB #CB6B4E #6FCB4E #4EADCB
split-complementary
#AA4ECB #ADCB4E #4ECB6B
monochromatic
#64247B #8A32AA #AA4ECB #C17DD9 #D7ADE7

Accessibility & contrast

On white

4.51
#AA4ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AA4ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4ECB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ECB#FFFFFF#000000##000000
##AA4ECB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#A86485
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa4ecb;
/* rgb */ color: rgb(170, 78, 203);
/* oklch */ color: oklch(59.2% 0.198 316.1);
Tailwind
colors: {
  custom: {
    50: '#c685db',
    500: '#aa4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ecb;
$custom-light: #c685db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ecb",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 284.16,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.19778,
    "h": 316.1
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#AA4ECB
secondary
#AED5A0
accent
#DE4A71
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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