#AA7ECA#AA7ECA

#AA7ECA is a light, moderate violet. Relative luminance 0.277; OKLCH L 66.5% C 0.119 H 310.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AA7ECA
RGBrgb(170, 126, 202)
HSLhsl(275, 42%, 64%)
HSVhsv(275, 38%, 79%)
CMYKcmyk(15.8%, 37.6%, 0%, 20.8%)
CIE-LABlab(59.65, 31.28, -32.99)
CIE-LCHlch(59.65, 45.46, 313.48°)
OKLaboklab(66.47% 0.0765 -0.0911)
OKLCHoklch(66.47% 0.119 310)
XYZxyz(34.6972, 27.7325, 59.3907)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7ECA #9ECA7E
analogous
#847ECA #AA7ECA #CA7EC4
triadic
#AA7ECA #CAAA7E #7ECAAA
tetradic
#AA7ECA #CA847E #9ECA7E #7EC4CA
square
#AA7ECA #CA847E #9ECA7E #7EC4CA
split-complementary
#AA7ECA #C4CA7E #7ECA84
monochromatic
#6E3C92 #8D53B8 #AA7ECA #C7A9DC #E3D5EE

Accessibility & contrast

On white

3.21
#AA7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AA7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7ECA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7ECA#FFFFFF#000000##000000
##AA7ECA1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECD
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#A6899B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7eca;
/* rgb */ color: rgb(170, 126, 202);
/* oklch */ color: oklch(66.5% 0.119 310.0);
Tailwind
colors: {
  custom: {
    50: '#c4a4da',
    500: '#aa7eca',
    950: '#000000',
  },
}
SCSS
$custom: #aa7eca;
$custom-light: #c4a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7eca",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 274.737,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66465,
    "c": 0.119,
    "h": 310
  },
  "luminance": 0.27732
}

Semantic roles & 50–950 ramp

primary
#AA7ECA
secondary
#D0DFC5
accent
#B53168
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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