#AA7BE4#AA7BE4

#AA7BE4 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.156 H 303.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AA7BE4
RGBrgb(170, 123, 228)
HSLhsl(267, 66%, 69%)
HSVhsv(267, 46%, 89%)
CMYKcmyk(25.4%, 46.1%, 0%, 10.6%)
CIE-LABlab(60.17, 38.92, -46.75)
CIE-LCHlch(60.17, 60.83, 309.78°)
OKLaboklab(67.26% 0.0854 -0.1309)
OKLCHoklch(67.26% 0.156 303.1)
XYZxyz(37.6611, 28.3134, 76.8647)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BE4 #B5E47B
analogous
#7B81E4 #AA7BE4 #DF7BE4
triadic
#AA7BE4 #E4AA7B #7BE4AA
tetradic
#AA7BE4 #E47B81 #B5E47B #7BE4DF
square
#AA7BE4 #E47B81 #B5E47B #7BE4DF
split-complementary
#AA7BE4 #E4DF7B #81E47B
monochromatic
#6A27BE #8948DA #AA7BE4 #CBAEEE #EBE1F9

Accessibility & contrast

On white

3.15
#AA7BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AA7BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BE4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BE4#FFFFFF#000000##000000
##AA7BE41.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E8
Deuteranopia (green-blind)
#6991E1
Tritanopia (blue-blind)
#A08DA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7be4;
/* rgb */ color: rgb(170, 123, 228);
/* oklch */ color: oklch(67.3% 0.156 303.1);
Tailwind
colors: {
  custom: {
    50: '#c5a2ed',
    500: '#aa7be4',
    950: '#000000',
  },
}
SCSS
$custom: #aa7be4;
$custom-light: #c5a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7be4",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 266.857,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67255,
    "c": 0.15628,
    "h": 303.1
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#AA7BE4
secondary
#DFEDCE
accent
#CE187C
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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