#AA7BF6#AA7BF6

#AA7BF6 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.179 H 299.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AA7BF6
RGBrgb(170, 123, 246)
HSLhsl(263, 87%, 72%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(30.9%, 50%, 0%, 3.5%)
CIE-LABlab(61.10, 43.26, -55.26)
CIE-LCHlch(61.10, 70.18, 308.06°)
OKLaboklab(68.25% 0.0873 -0.1557)
OKLCHoklch(68.25% 0.179 299.3)
XYZxyz(40.2911, 29.3655, 90.7163)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BF6 #C7F67B
analogous
#7B89F6 #AA7BF6 #E87BF6
triadic
#AA7BF6 #F6AA7B #7BF6AA
tetradic
#AA7BF6 #F67B89 #C7F67B #7BF6E8
square
#AA7BF6 #F67B89 #C7F67B #7BF6E8
split-complementary
#AA7BF6 #F6E87B #89F67B
monochromatic
#6210E7 #8542F2 #AA7BF6 #CFB4FA #EDE2FD

Accessibility & contrast

On white

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

On black

6.87
#AA7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BF6
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BF6#FFFFFF#000000##000000
##AA7BF61.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#9A92AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7bf6;
/* rgb */ color: rgb(170, 123, 246);
/* oklch */ color: oklch(68.3% 0.179 299.3);
Tailwind
colors: {
  custom: {
    50: '#c6a2fa',
    500: '#aa7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bf6;
$custom-light: #c6a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bf6",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 262.927,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68253,
    "c": 0.17853,
    "h": 299.3
  },
  "luminance": 0.29366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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