#AA7AFF#AA7AFF

#AA7AFF is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.191 H 297.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AA7AFF
RGBrgb(170, 122, 255)
HSLhsl(262, 100%, 74%)
HSVhsv(262, 52%, 100%)
CMYKcmyk(33.3%, 52.2%, 0%, 0%)
CIE-LABlab(61.38, 46.03, -59.77)
CIE-LCHlch(61.38, 75.44, 307.60°)
OKLaboklab(68.62% 0.0892 -0.1689)
OKLCHoklch(68.62% 0.191 297.8)
XYZxyz(41.5826, 29.6846, 98.1273)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AFF #CFFF7A
analogous
#7A8DFF #AA7AFF #ED7AFF
triadic
#AA7AFF #FFAA7A #7AFFAA
tetradic
#AA7AFF #FF7A8D #CFFF7A #7AFFED
square
#AA7AFF #FF7A8D #CFFF7A #7AFFED
split-complementary
#AA7AFF #FFED7A #8DFF7A
monochromatic
#5C00FF #833DFF #AA7AFF #D1B7FF #EBE0FF

Accessibility & contrast

On white

3.03
#AA7AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AA7AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AFF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AFF#FFFFFF#000000##000000
##AA7AFF1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#5393FC
Tritanopia (blue-blind)
#9794B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7aff;
/* rgb */ color: rgb(170, 122, 255);
/* oklch */ color: oklch(68.6% 0.191 297.8);
Tailwind
colors: {
  custom: {
    50: '#c7a2ff',
    500: '#aa7aff',
    950: '#000000',
  },
}
SCSS
$custom: #aa7aff;
$custom-light: #c7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7aff",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 261.654,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6862,
    "c": 0.19103,
    "h": 297.8
  },
  "luminance": 0.29685
}

Semantic roles & 50–950 ramp

primary
#AA7AFF
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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