#AA7CF9#AA7CF9

#AA7CF9 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.181 H 298.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AA7CF9
RGBrgb(170, 124, 249)
HSLhsl(262, 91%, 73%)
HSVhsv(262, 50%, 98%)
CMYKcmyk(31.7%, 50.2%, 0%, 2.4%)
CIE-LABlab(61.48, 43.45, -56.31)
CIE-LCHlch(61.48, 71.12, 307.65°)
OKLaboklab(68.59% 0.0863 -0.1588)
OKLCHoklch(68.59% 0.181 298.5)
XYZxyz(40.8800, 29.8005, 93.2025)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CF9 #CBF97C
analogous
#7C8CF9 #AA7CF9 #E87CF9
triadic
#AA7CF9 #F9AA7C #7CF9AA
tetradic
#AA7CF9 #F97C8C #CBF97C #7CF9E8
square
#AA7CF9 #F97C8C #CBF97C #7CF9E8
split-complementary
#AA7CF9 #F9E87C #8CF97C
monochromatic
#5F0BF0 #8441F6 #AA7CF9 #D0B7FC #ECE2FE

Accessibility & contrast

On white

3.02
#AA7CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AA7CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CF9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CF9#FFFFFF#000000##000000
##AA7CF91.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#9994AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7cf9;
/* rgb */ color: rgb(170, 124, 249);
/* oklch */ color: oklch(68.6% 0.181 298.5);
Tailwind
colors: {
  custom: {
    50: '#c7a3fc',
    500: '#aa7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cf9;
$custom-light: #c7a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cf9",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 262.08,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.18072,
    "h": 298.5
  },
  "luminance": 0.29801
}

Semantic roles & 50–950 ramp

primary
#AA7CF9
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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