#AA7CF6#AA7CF6

#AA7CF6 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.177 H 299.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AA7CF6
RGBrgb(170, 124, 246)
HSLhsl(263, 87%, 73%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(30.9%, 49.6%, 0%, 3.5%)
CIE-LABlab(61.32, 42.71, -54.91)
CIE-LCHlch(61.32, 69.57, 307.88°)
OKLaboklab(68.42% 0.086 -0.1547)
OKLCHoklch(68.42% 0.177 299.1)
XYZxyz(40.4158, 29.6148, 90.7579)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CF6 #C8F67C
analogous
#7C8BF6 #AA7CF6 #E77CF6
triadic
#AA7CF6 #F6AA7C #7CF6AA
tetradic
#AA7CF6 #F67C8B #C8F67C #7CF6E7
square
#AA7CF6 #F67C8B #C8F67C #7CF6E7
split-complementary
#AA7CF6 #F6E77C #8BF67C
monochromatic
#6110E8 #8543F2 #AA7CF6 #CFB5FA #ECE2FD

Accessibility & contrast

On white

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

On black

6.92
#AA7CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CF6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CF6#FFFFFF#000000##000000
##AA7CF61.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#9A93AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7cf6;
/* rgb */ color: rgb(170, 124, 246);
/* oklch */ color: oklch(68.4% 0.177 299.1);
Tailwind
colors: {
  custom: {
    50: '#c6a3fa',
    500: '#aa7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cf6;
$custom-light: #c6a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cf6",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 262.623,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68415,
    "c": 0.17702,
    "h": 299.1
  },
  "luminance": 0.29615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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