#AA7FFB#AA7FFB

#AA7FFB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.179 H 297.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AA7FFB
RGBrgb(170, 127, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 49%, 98%)
CMYKcmyk(32.3%, 49.4%, 0%, 1.6%)
CIE-LABlab(62.24, 42.29, -56.19)
CIE-LCHlch(62.24, 70.33, 306.96°)
OKLaboklab(69.19% 0.0826 -0.1585)
OKLCHoklch(69.19% 0.179 297.5)
XYZxyz(41.5753, 30.6893, 94.9813)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FFB #D0FB7F
analogous
#7F92FB #AA7FFB #E87FFB
triadic
#AA7FFB #FBAA7F #7FFBAA
tetradic
#AA7FFB #FB7F92 #D0FB7F #7FFBE8
square
#AA7FFB #FB7F92 #D0FB7F #7FFBE8
split-complementary
#AA7FFB #FBE87F #92FB7F
monochromatic
#5B08F7 #8344F9 #AA7FFB #D1BAFD #EBE1FE

Accessibility & contrast

On white

2.94
#AA7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AA7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7FFB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FFB#FFFFFF#000000##000000
##AA7FFB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#9897B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7ffb;
/* rgb */ color: rgb(170, 127, 251);
/* oklch */ color: oklch(69.2% 0.179 297.5);
Tailwind
colors: {
  custom: {
    50: '#c7a5fd',
    500: '#aa7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ffb;
$custom-light: #c7a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ffb",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 260.806,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69191,
    "c": 0.17872,
    "h": 297.5
  },
  "luminance": 0.3069
}

Semantic roles & 50–950 ramp

primary
#AA7FFB
secondary
#EBF6D5
accent
#E60096
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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