#AA7DFB#AA7DFB

#AA7DFB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.182 H 297.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AA7DFB
RGBrgb(170, 125, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.3%, 50.2%, 0%, 1.6%)
CIE-LABlab(61.81, 43.39, -56.89)
CIE-LCHlch(61.81, 71.55, 307.33°)
OKLaboklab(68.86% 0.0852 -0.1605)
OKLCHoklch(68.86% 0.182 297.9)
XYZxyz(41.3195, 30.1779, 94.8961)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DFB #CEFB7D
analogous
#7D8FFB #AA7DFB #E97DFB
triadic
#AA7DFB #FBAA7D #7DFBAA
tetradic
#AA7DFB #FB7D8F #CEFB7D #7DFBE9
square
#AA7DFB #FB7D8F #CEFB7D #7DFBE9
split-complementary
#AA7DFB #FBE97D #8FFB7D
monochromatic
#5D08F6 #8342F9 #AA7DFB #D1B8FD #ECE1FE

Accessibility & contrast

On white

2.98
#AA7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#AA7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7DFB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DFB#FFFFFF#000000##000000
##AA7DFB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#9995B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7dfb;
/* rgb */ color: rgb(170, 125, 251);
/* oklch */ color: oklch(68.9% 0.182 297.9);
Tailwind
colors: {
  custom: {
    50: '#c7a3fd',
    500: '#aa7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7dfb;
$custom-light: #c7a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7dfb",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 261.429,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.1817,
    "h": 297.9
  },
  "luminance": 0.30178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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