#AA7BEC#AA7BEC

#AA7BEC is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.166 H 301.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AA7BEC
RGBrgb(170, 123, 236)
HSLhsl(265, 75%, 70%)
HSVhsv(265, 48%, 93%)
CMYKcmyk(28%, 47.9%, 0%, 7.5%)
CIE-LABlab(60.58, 40.83, -50.56)
CIE-LCHlch(60.58, 64.99, 308.92°)
OKLaboklab(67.69% 0.0863 -0.142)
OKLCHoklch(67.69% 0.166 301.3)
XYZxyz(38.7974, 28.7680, 82.8494)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BEC #BDEC7B
analogous
#7B84EC #AA7BEC #E37BEC
triadic
#AA7BEC #ECAA7B #7BECAA
tetradic
#AA7BEC #EC7B84 #BDEC7B #7BECE3
square
#AA7BEC #EC7B84 #BDEC7B #7BECE3
split-complementary
#AA7BEC #ECE37B #84EC7B
monochromatic
#671ECF #8846E4 #AA7BEC #CCB0F4 #EEE4FB

Accessibility & contrast

On white

3.11
#AA7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AA7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BEC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BEC#FFFFFF#000000##000000
##AA7BEC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#9D8FA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7bec;
/* rgb */ color: rgb(170, 123, 236);
/* oklch */ color: oklch(67.7% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#c6a2f2',
    500: '#aa7bec',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bec;
$custom-light: #c6a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bec",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 264.956,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6769,
    "c": 0.16619,
    "h": 301.3
  },
  "luminance": 0.28768
}

Semantic roles & 50–950 ramp

primary
#AA7BEC
secondary
#E4F1D2
accent
#D70F84
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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