#AA7CFD#AA7CFD

#AA7CFD is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.186 H 297.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#AA7CFD
RGBrgb(170, 124, 253)
HSLhsl(261, 97%, 74%)
HSVhsv(261, 51%, 99%)
CMYKcmyk(32.8%, 51%, 0%, 0.8%)
CIE-LABlab(61.70, 44.44, -58.16)
CIE-LCHlch(61.70, 73.20, 307.38°)
OKLaboklab(68.82% 0.0866 -0.1642)
OKLCHoklch(68.82% 0.186 297.8)
XYZxyz(41.5105, 30.0527, 96.5232)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CFD #CFFD7C
analogous
#7C8FFD #AA7CFD #EA7CFD
triadic
#AA7CFD #FDAA7C #7CFDAA
tetradic
#AA7CFD #FD7C8F #CFFD7C #7CFDEA
square
#AA7CFD #FD7C8F #CFFD7C #7CFDEA
split-complementary
#AA7CFD #FDEA7C #8FFD7C
monochromatic
#5C04FB #8340FC #AA7CFD #D1B8FE #EBE1FF

Accessibility & contrast

On white

3.00
#AA7CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#AA7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7CFD
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CFD#FFFFFF#000000##000000
##AA7CFD1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#9895B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7cfd;
/* rgb */ color: rgb(170, 124, 253);
/* oklch */ color: oklch(68.8% 0.186 297.8);
Tailwind
colors: {
  custom: {
    50: '#c7a3ff',
    500: '#aa7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cfd;
$custom-light: #c7a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cfd",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 261.395,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6882,
    "c": 0.18565,
    "h": 297.8
  },
  "luminance": 0.30053
}

Semantic roles & 50–950 ramp

primary
#AA7CFD
secondary
#EAF7D4
accent
#E60094
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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