#AA7CF8#AA7CF8

#AA7CF8 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.179 H 298.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AA7CF8
RGBrgb(170, 124, 248)
HSLhsl(262, 90%, 73%)
HSVhsv(262, 50%, 97%)
CMYKcmyk(31.5%, 50%, 0%, 2.7%)
CIE-LABlab(61.43, 43.20, -55.84)
CIE-LCHlch(61.43, 70.60, 307.73°)
OKLaboklab(68.53% 0.0862 -0.1574)
OKLCHoklch(68.53% 0.179 298.7)
XYZxyz(40.7244, 29.7383, 92.3833)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CF8 #CAF87C
analogous
#7C8CF8 #AA7CF8 #E87CF8
triadic
#AA7CF8 #F8AA7C #7CF8AA
tetradic
#AA7CF8 #F87C8C #CAF87C #7CF8E8
square
#AA7CF8 #F87C8C #CAF87C #7CF8E8
split-complementary
#AA7CF8 #F8E87C #8CF87C
monochromatic
#600DED #8442F5 #AA7CF8 #D0B6FB #ECE2FD

Accessibility & contrast

On white

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

On black

6.95
#AA7CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CF8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CF8#FFFFFF#000000##000000
##AA7CF81.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#9A94AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7cf8;
/* rgb */ color: rgb(170, 124, 248);
/* oklch */ color: oklch(68.5% 0.179 298.7);
Tailwind
colors: {
  custom: {
    50: '#c7a3fb',
    500: '#aa7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cf8;
$custom-light: #c7a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cf8",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 262.258,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.17949,
    "h": 298.7
  },
  "luminance": 0.29739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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