#AA3ECB#AA3ECB

#AA3ECB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.219 H 317.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA3ECB
RGBrgb(170, 62, 203)
HSLhsl(286, 58%, 52%)
HSVhsv(286, 69%, 80%)
CMYKcmyk(16.3%, 69.5%, 0%, 20.4%)
CIE-LABlab(47.37, 63.76, -52.96)
CIE-LCHlch(47.37, 82.89, 320.28°)
OKLaboklab(57.43% 0.1605 -0.1488)
OKLCHoklch(57.43% 0.219 317.2)
XYZxyz(29.0781, 16.3043, 58.1037)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3ECB #5FCB3E
analogous
#633ECB #AA3ECB #CB3EA6
triadic
#AA3ECB #CBAA3E #3ECBAA
tetradic
#AA3ECB #CB633E #5FCB3E #3EA6CB
square
#AA3ECB #CB633E #5FCB3E #3EA6CB
split-complementary
#AA3ECB #A6CB3E #3ECB63
monochromatic
#5D1E70 #852BA1 #AA3ECB #BF6ED8 #D49EE5

Accessibility & contrast

On white

4.93
#AA3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AA3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3ECB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3ECB#FFFFFF#000000##FFFFFF
##AA3ECB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#A95A80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa3ecb;
/* rgb */ color: rgb(170, 62, 203);
/* oklch */ color: oklch(57.4% 0.219 317.2);
Tailwind
colors: {
  custom: {
    50: '#c77cdb',
    500: '#aa3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #aa3ecb;
$custom-light: #c77cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3ecb",
  "rgb": {
    "r": 170,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 285.957,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.2188,
    "h": 317.2
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#AA3ECB
secondary
#A2D194
accent
#E1476B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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