#AA7BF7#AA7BF7

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

Color values

HEX#AA7BF7
RGBrgb(170, 123, 247)
HSLhsl(263, 89%, 73%)
HSVhsv(263, 50%, 97%)
CMYKcmyk(31.2%, 50.2%, 0%, 3.1%)
CIE-LABlab(61.16, 43.51, -55.72)
CIE-LCHlch(61.16, 70.70, 307.98°)
OKLaboklab(68.31% 0.0874 -0.1571)
OKLCHoklch(68.31% 0.18 299.1)
XYZxyz(40.4450, 29.4270, 91.5268)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BF7 #C8F77B
analogous
#7B8AF7 #AA7BF7 #E87BF7
triadic
#AA7BF7 #F7AA7B #7BF7AA
tetradic
#AA7BF7 #F77B8A #C8F77B #7BF7E8
square
#AA7BF7 #F77B8A #C8F77B #7BF7E8
split-complementary
#AA7BF7 #F7E87B #8AF77B
monochromatic
#610EE9 #8541F4 #AA7BF7 #CFB5FA #ECE2FD

Accessibility & contrast

On white

3.05
#AA7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AA7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BF7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BF7#FFFFFF#000000##000000
##AA7BF71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa7bf7;
/* rgb */ color: rgb(170, 123, 247);
/* oklch */ color: oklch(68.3% 0.180 299.1);
Tailwind
colors: {
  custom: {
    50: '#c7a2fa',
    500: '#aa7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bf7;
$custom-light: #c7a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bf7",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 262.742,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68311,
    "c": 0.17976,
    "h": 299.1
  },
  "luminance": 0.29427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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