#AA7BF5#AA7BF5

#AA7BF5 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.177 H 299.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AA7BF5
RGBrgb(170, 123, 245)
HSLhsl(263, 86%, 72%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(30.6%, 49.8%, 0%, 3.9%)
CIE-LABlab(61.05, 43.02, -54.79)
CIE-LCHlch(61.05, 69.66, 308.14°)
OKLaboklab(68.2% 0.0872 -0.1544)
OKLCHoklch(68.2% 0.177 299.5)
XYZxyz(40.1380, 29.3042, 89.9101)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BF5 #C6F57B
analogous
#7B89F5 #AA7BF5 #E77BF5
triadic
#AA7BF5 #F5AA7B #7BF5AA
tetradic
#AA7BF5 #F57B89 #C6F57B #7BF5E7
square
#AA7BF5 #F57B89 #C6F57B #7BF5E7
split-complementary
#AA7BF5 #F5E77B #89F57B
monochromatic
#6311E4 #8542F1 #AA7BF5 #CFB4F9 #EDE3FD

Accessibility & contrast

On white

3.06
#AA7BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AA7BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BF5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BF5#FFFFFF#000000##000000
##AA7BF51.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#9B92AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7bf5;
/* rgb */ color: rgb(170, 123, 245);
/* oklch */ color: oklch(68.2% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#c6a2f9',
    500: '#aa7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bf5;
$custom-light: #c6a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bf5",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 263.115,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68196,
    "c": 0.1773,
    "h": 299.5
  },
  "luminance": 0.29305
}

Semantic roles & 50–950 ramp

primary
#AA7BF5
secondary
#E9F5D6
accent
#E2038C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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