#AA7BF8#AA7BF8

#AA7BF8 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.181 H 298.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AA7BF8
RGBrgb(170, 123, 248)
HSLhsl(263, 90%, 73%)
HSVhsv(263, 50%, 97%)
CMYKcmyk(31.5%, 50.4%, 0%, 2.7%)
CIE-LABlab(61.21, 43.75, -56.19)
CIE-LCHlch(61.21, 71.21, 307.91°)
OKLaboklab(68.37% 0.0875 -0.1585)
OKLCHoklch(68.37% 0.181 298.9)
XYZxyz(40.5997, 29.4889, 92.3417)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BF8 #C9F87B
analogous
#7B8AF8 #AA7BF8 #E87BF8
triadic
#AA7BF8 #F8AA7B #7BF8AA
tetradic
#AA7BF8 #F87B8A #C9F87B #7BF8E8
square
#AA7BF8 #F87B8A #C9F87B #7BF8E8
split-complementary
#AA7BF8 #F8E87B #8AF87B
monochromatic
#610DEC #8541F5 #AA7BF8 #CFB5FB #ECE2FD

Accessibility & contrast

On white

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

On black

6.90
#AA7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BF8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BF8#FFFFFF#000000##000000
##AA7BF81.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#9A93AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7bf8;
/* rgb */ color: rgb(170, 123, 248);
/* oklch */ color: oklch(68.4% 0.181 298.9);
Tailwind
colors: {
  custom: {
    50: '#c7a2fb',
    500: '#aa7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bf8;
$custom-light: #c7a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bf8",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 262.56,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68369,
    "c": 0.18099,
    "h": 298.9
  },
  "luminance": 0.29489
}

Semantic roles & 50–950 ramp

primary
#AA7BF8
secondary
#E9F6D5
accent
#E6008F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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