#AA7DFF#AA7DFF

#AA7DFF is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.187 H 297.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AA7DFF
RGBrgb(170, 125, 255)
HSLhsl(261, 100%, 75%)
HSVhsv(261, 51%, 100%)
CMYKcmyk(33.3%, 51%, 0%, 0%)
CIE-LABlab(62.03, 44.39, -58.74)
CIE-LCHlch(62.03, 73.63, 307.08°)
OKLaboklab(69.1% 0.0855 -0.1659)
OKLCHoklch(69.1% 0.187 297.2)
XYZxyz(41.9567, 30.4327, 98.2520)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DFF #D2FF7D
analogous
#7D91FF #AA7DFF #EB7DFF
triadic
#AA7DFF #FFAA7D #7DFFAA
tetradic
#AA7DFF #FF7D91 #D2FF7D #7DFFEB
square
#AA7DFF #FF7D91 #D2FF7D #7DFFEB
split-complementary
#AA7DFF #FFEB7D #91FF7D
monochromatic
#5A03FF #8240FF #AA7DFF #D2BAFF #EBE0FF

Accessibility & contrast

On white

2.96
#AA7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AA7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7DFF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DFF#FFFFFF#000000##000000
##AA7DFF1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#5794FC
Tritanopia (blue-blind)
#9796B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7dff;
/* rgb */ color: rgb(170, 125, 255);
/* oklch */ color: oklch(69.1% 0.187 297.2);
Tailwind
colors: {
  custom: {
    50: '#c7a4ff',
    500: '#aa7dff',
    950: '#000000',
  },
}
SCSS
$custom: #aa7dff;
$custom-light: #c7a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7dff",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 260.769,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69098,
    "c": 0.18664,
    "h": 297.2
  },
  "luminance": 0.30433
}

Semantic roles & 50–950 ramp

primary
#AA7DFF
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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