#AA7CF7#AA7CF7

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

Color values

HEX#AA7CF7
RGBrgb(170, 124, 247)
HSLhsl(262, 88%, 73%)
HSVhsv(262, 50%, 97%)
CMYKcmyk(31.2%, 49.8%, 0%, 3.1%)
CIE-LABlab(61.37, 42.96, -55.38)
CIE-LCHlch(61.37, 70.08, 307.80°)
OKLaboklab(68.47% 0.0861 -0.1561)
OKLCHoklch(68.47% 0.178 298.9)
XYZxyz(40.5697, 29.6764, 91.5684)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CF7 #C9F77C
analogous
#7C8BF7 #AA7CF7 #E77CF7
triadic
#AA7CF7 #F7AA7C #7CF7AA
tetradic
#AA7CF7 #F77C8B #C9F77C #7CF7E7
square
#AA7CF7 #F77C8B #C9F77C #7CF7E7
split-complementary
#AA7CF7 #F7E77C #8BF77C
monochromatic
#610EEA #8542F3 #AA7CF7 #CFB6FB #ECE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA7CF7#FFFFFF#000000##000000
##AA7CF71.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)
#5194FB
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#9A93AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7cf7;
/* rgb */ color: rgb(170, 124, 247);
/* oklch */ color: oklch(68.5% 0.178 298.9);
Tailwind
colors: {
  custom: {
    50: '#c6a3fa',
    500: '#aa7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cf7;
$custom-light: #c6a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cf7",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 262.439,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68473,
    "c": 0.17825,
    "h": 298.9
  },
  "luminance": 0.29677
}

Semantic roles & 50–950 ramp

primary
#AA7CF7
secondary
#E9F5D6
accent
#E50090
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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