#AA7FF6#AA7FF6

#AA7FF6 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.172 H 298.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AA7FF6
RGBrgb(170, 127, 246)
HSLhsl(262, 87%, 73%)
HSVhsv(262, 48%, 96%)
CMYKcmyk(30.9%, 48.4%, 0%, 3.5%)
CIE-LABlab(61.98, 41.05, -53.86)
CIE-LCHlch(61.98, 67.72, 307.31°)
OKLaboklab(68.91% 0.0822 -0.1517)
OKLCHoklch(68.91% 0.172 298.4)
XYZxyz(40.7975, 30.3782, 90.8851)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FF6 #CBF67F
analogous
#7F8FF6 #AA7FF6 #E67FF6
triadic
#AA7FF6 #F6AA7F #7FF6AA
tetradic
#AA7FF6 #F67F8F #CBF67F #7FF6E6
square
#AA7FF6 #F67F8F #CBF67F #7FF6E6
split-complementary
#AA7FF6 #F6E67F #8FF67F
monochromatic
#5F10EA #8446F2 #AA7FF6 #D0B8FA #ECE2FD

Accessibility & contrast

On white

2.97
#AA7FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AA7FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7FF6
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FF6#FFFFFF#000000##000000
##AA7FF61.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#6195F3
Tritanopia (blue-blind)
#9A95AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7ff6;
/* rgb */ color: rgb(170, 127, 246);
/* oklch */ color: oklch(68.9% 0.172 298.4);
Tailwind
colors: {
  custom: {
    50: '#c6a5fa',
    500: '#aa7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ff6;
$custom-light: #c6a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ff6",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 261.681,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68907,
    "c": 0.17248,
    "h": 298.4
  },
  "luminance": 0.30379
}

Semantic roles & 50–950 ramp

primary
#AA7FF6
secondary
#EAF5D6
accent
#E30292
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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