#AA7CFC#AA7CFC

#AA7CFC is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.184 H 298.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AA7CFC
RGBrgb(170, 124, 252)
HSLhsl(262, 96%, 74%)
HSVhsv(262, 51%, 99%)
CMYKcmyk(32.5%, 50.8%, 0%, 1.2%)
CIE-LABlab(61.64, 44.19, -57.70)
CIE-LCHlch(61.64, 72.68, 307.45°)
OKLaboklab(68.76% 0.0865 -0.1629)
OKLCHoklch(68.76% 0.184 298)
XYZxyz(41.3516, 29.9892, 95.6865)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CFC #CEFC7C
analogous
#7C8EFC #AA7CFC #EA7CFC
triadic
#AA7CFC #FCAA7C #7CFCAA
tetradic
#AA7CFC #FC7C8E #CEFC7C #7CFCEA
square
#AA7CFC #FC7C8E #CEFC7C #7CFCEA
split-complementary
#AA7CFC #FCEA7C #8EFC7C
monochromatic
#5D06F8 #8340FB #AA7CFC #D1B8FD #ECE1FE

Accessibility & contrast

On white

3.00
#AA7CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AA7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7CFC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CFC#FFFFFF#000000##000000
##AA7CFC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#9895B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7cfc;
/* rgb */ color: rgb(170, 124, 252);
/* oklch */ color: oklch(68.8% 0.184 298.0);
Tailwind
colors: {
  custom: {
    50: '#c7a3fe',
    500: '#aa7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cfc;
$custom-light: #c7a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cfc",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 261.563,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.18442,
    "h": 298
  },
  "luminance": 0.2999
}

Semantic roles & 50–950 ramp

primary
#AA7CFC
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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