#AA7CFB#AA7CFB

#AA7CFB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.183 H 298.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AA7CFB
RGBrgb(170, 124, 251)
HSLhsl(262, 94%, 74%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.3%, 50.6%, 0%, 1.6%)
CIE-LABlab(61.59, 43.94, -57.24)
CIE-LCHlch(61.59, 72.16, 307.52°)
OKLaboklab(68.7% 0.0864 -0.1615)
OKLCHoklch(68.7% 0.183 298.1)
XYZxyz(41.1936, 29.9259, 94.8541)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CFB #CDFB7C
analogous
#7C8DFB #AA7CFB #E97CFB
triadic
#AA7CFB #FBAA7C #7CFBAA
tetradic
#AA7CFB #FB7C8D #CDFB7C #7CFBE9
square
#AA7CFB #FB7C8D #CDFB7C #7CFBE9
split-complementary
#AA7CFB #FBE97C #8DFB7C
monochromatic
#5E07F5 #8341F9 #AA7CFB #D1B7FD #ECE1FE

Accessibility & contrast

On white

3.01
#AA7CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AA7CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CFB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CFB#FFFFFF#000000##000000
##AA7CFB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5A93F8
Tritanopia (blue-blind)
#9995B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7cfb;
/* rgb */ color: rgb(170, 124, 251);
/* oklch */ color: oklch(68.7% 0.183 298.1);
Tailwind
colors: {
  custom: {
    50: '#c7a3fd',
    500: '#aa7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cfb;
$custom-light: #c7a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cfb",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 261.732,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68704,
    "c": 0.18319,
    "h": 298.1
  },
  "luminance": 0.29926
}

Semantic roles & 50–950 ramp

primary
#AA7CFB
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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