#AA7BEB#AA7BEB

#AA7BEB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.165 H 301.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AA7BEB
RGBrgb(170, 123, 235)
HSLhsl(265, 74%, 70%)
HSVhsv(265, 48%, 92%)
CMYKcmyk(27.7%, 47.7%, 0%, 7.8%)
CIE-LABlab(60.52, 40.59, -50.09)
CIE-LCHlch(60.52, 64.47, 309.02°)
OKLaboklab(67.64% 0.0862 -0.1406)
OKLCHoklch(67.64% 0.165 301.5)
XYZxyz(38.6525, 28.7100, 82.0864)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BEB #BCEB7B
analogous
#7B84EB #AA7BEB #E27BEB
triadic
#AA7BEB #EBAA7B #7BEBAA
tetradic
#AA7BEB #EB7B84 #BCEB7B #7BEBE2
square
#AA7BEB #EB7B84 #BCEB7B #7BEBE2
split-complementary
#AA7BEB #EBE27B #84EB7B
monochromatic
#681FCD #8846E3 #AA7BEB #CCB0F3 #EEE4FB

Accessibility & contrast

On white

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

On black

6.74
#AA7BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BEB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BEB#FFFFFF#000000##000000
##AA7BEB1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#9E8FA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7beb;
/* rgb */ color: rgb(170, 123, 235);
/* oklch */ color: oklch(67.6% 0.165 301.5);
Tailwind
colors: {
  custom: {
    50: '#c6a2f2',
    500: '#aa7beb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7beb;
$custom-light: #c6a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7beb",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 265.179,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67635,
    "c": 0.16495,
    "h": 301.5
  },
  "luminance": 0.2871
}

Semantic roles & 50–950 ramp

primary
#AA7BEB
secondary
#E3F0D1
accent
#D61083
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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