#AA7BE7#AA7BE7

#AA7BE7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.160 H 302.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AA7BE7
RGBrgb(170, 123, 231)
HSLhsl(266, 69%, 69%)
HSVhsv(266, 47%, 91%)
CMYKcmyk(26.4%, 46.8%, 0%, 9.4%)
CIE-LABlab(60.32, 39.63, -48.19)
CIE-LCHlch(60.32, 62.39, 309.44°)
OKLaboklab(67.42% 0.0858 -0.1351)
OKLCHoklch(67.42% 0.16 302.4)
XYZxyz(38.0811, 28.4815, 79.0771)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BE7 #B8E77B
analogous
#7B82E7 #AA7BE7 #E07BE7
triadic
#AA7BE7 #E7AA7B #7BE7AA
tetradic
#AA7BE7 #E77B82 #B8E77B #7BE7E0
square
#AA7BE7 #E77B82 #B8E77B #7BE7E0
split-complementary
#AA7BE7 #E7E07B #82E77B
monochromatic
#6924C4 #8947DE #AA7BE7 #CBAFF0 #EDE3FA

Accessibility & contrast

On white

3.14
#AA7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AA7BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BE7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BE7#FFFFFF#000000##000000
##AA7BE71.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#9F8EA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7be7;
/* rgb */ color: rgb(170, 123, 231);
/* oklch */ color: oklch(67.4% 0.160 302.4);
Tailwind
colors: {
  custom: {
    50: '#c6a2ef',
    500: '#aa7be7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7be7;
$custom-light: #c6a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7be7",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 266.111,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67417,
    "c": 0.16,
    "h": 302.4
  },
  "luminance": 0.28481
}

Semantic roles & 50–950 ramp

primary
#AA7BE7
secondary
#E1EECF
accent
#D1147F
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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