#AA7BEF#AA7BEF

#AA7BEF is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.170 H 300.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AA7BEF
RGBrgb(170, 123, 239)
HSLhsl(264, 78%, 71%)
HSVhsv(264, 49%, 94%)
CMYKcmyk(28.9%, 48.5%, 0%, 6.3%)
CIE-LABlab(60.73, 41.55, -51.98)
CIE-LCHlch(60.73, 66.55, 308.64°)
OKLaboklab(67.86% 0.0867 -0.1461)
OKLCHoklch(67.86% 0.17 300.7)
XYZxyz(39.2369, 28.9438, 85.1642)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BEF #C0EF7B
analogous
#7B86EF #AA7BEF #E47BEF
triadic
#AA7BEF #EFAA7B #7BEFAA
tetradic
#AA7BEF #EF7B86 #C0EF7B #7BEFE4
square
#AA7BEF #EF7B86 #C0EF7B #7BEFE4
split-complementary
#AA7BEF #EFE47B #86EF7B
monochromatic
#661AD6 #8744E8 #AA7BEF #CDB2F6 #EDE4FC

Accessibility & contrast

On white

3.09
#AA7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AA7BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BEF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BEF#FFFFFF#000000##000000
##AA7BEF1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#9D90AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7bef;
/* rgb */ color: rgb(170, 123, 239);
/* oklch */ color: oklch(67.9% 0.170 300.7);
Tailwind
colors: {
  custom: {
    50: '#c6a2f5',
    500: '#aa7bef',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bef;
$custom-light: #c6a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bef",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 264.31,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67857,
    "c": 0.1699,
    "h": 300.7
  },
  "luminance": 0.28944
}

Semantic roles & 50–950 ramp

primary
#AA7BEF
secondary
#E6F2D3
accent
#DB0B86
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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