#AA7ECB#AA7ECB

#AA7ECB is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.5% C 0.120 H 309.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AA7ECB
RGBrgb(170, 126, 203)
HSLhsl(274, 43%, 65%)
HSVhsv(274, 38%, 80%)
CMYKcmyk(16.3%, 37.9%, 0%, 20.4%)
CIE-LABlab(59.69, 31.51, -33.48)
CIE-LCHlch(59.69, 45.98, 313.26°)
OKLaboklab(66.51% 0.0768 -0.0925)
OKLCHoklch(66.51% 0.12 309.7)
XYZxyz(34.8159, 27.7800, 60.0163)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7ECB #9FCB7E
analogous
#847ECB #AA7ECB #CB7EC5
triadic
#AA7ECB #CBAA7E #7ECBAA
tetradic
#AA7ECB #CB847E #9FCB7E #7EC5CB
square
#AA7ECB #CB847E #9FCB7E #7EC5CB
split-complementary
#AA7ECB #C5CB7E #7ECB84
monochromatic
#6E3B93 #8D52B9 #AA7ECB #C7AADD #E3D5EE

Accessibility & contrast

On white

3.20
#AA7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AA7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7ECB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7ECB#FFFFFF#000000##000000
##AA7ECB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECE
Deuteranopia (green-blind)
#7991C9
Tritanopia (blue-blind)
#A6899B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7ecb;
/* rgb */ color: rgb(170, 126, 203);
/* oklch */ color: oklch(66.5% 0.120 309.7);
Tailwind
colors: {
  custom: {
    50: '#c4a4db',
    500: '#aa7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ecb;
$custom-light: #c4a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ecb",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 274.286,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.12024,
    "h": 309.7
  },
  "luminance": 0.2778
}

Semantic roles & 50–950 ramp

primary
#AA7ECB
secondary
#D1E0C5
accent
#B63069
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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