#AA7BF9#AA7BF9

#AA7BF9 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.182 H 298.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AA7BF9
RGBrgb(170, 123, 249)
HSLhsl(262, 91%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(31.7%, 50.6%, 0%, 2.4%)
CIE-LABlab(61.27, 44.00, -56.65)
CIE-LCHlch(61.27, 71.73, 307.83°)
OKLaboklab(68.43% 0.0875 -0.1598)
OKLCHoklch(68.43% 0.182 298.7)
XYZxyz(40.7553, 29.5511, 93.1609)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BF9 #CAF97B
analogous
#7B8BF9 #AA7BF9 #E97BF9
triadic
#AA7BF9 #F9AA7B #7BF9AA
tetradic
#AA7BF9 #F97B8B #CAF97B #7BF9E9
square
#AA7BF9 #F97B8B #CAF97B #7BF9E9
split-complementary
#AA7BF9 #F9E97B #8BF97B
monochromatic
#600BEF #8440F6 #AA7BF9 #D0B6FC #ECE2FE

Accessibility & contrast

On white

3.04
#AA7BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#AA7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BF9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BF9#FFFFFF#000000##000000
##AA7BF91.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FD
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#9993AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7bf9;
/* rgb */ color: rgb(170, 123, 249);
/* oklch */ color: oklch(68.4% 0.182 298.7);
Tailwind
colors: {
  custom: {
    50: '#c7a2fc',
    500: '#aa7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bf9;
$custom-light: #c7a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bf9",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 262.381,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68427,
    "c": 0.18222,
    "h": 298.7
  },
  "luminance": 0.29552
}

Semantic roles & 50–950 ramp

primary
#AA7BF9
secondary
#EAF6D5
accent
#E60090
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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