#AA7FEB#AA7FEB

#AA7FEB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.3% C 0.159 H 300.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AA7FEB
RGBrgb(170, 127, 235)
HSLhsl(264, 73%, 71%)
HSVhsv(264, 46%, 92%)
CMYKcmyk(27.7%, 46%, 0%, 7.8%)
CIE-LABlab(61.41, 38.37, -48.68)
CIE-LCHlch(61.41, 61.98, 308.24°)
OKLaboklab(68.3% 0.0809 -0.1365)
OKLCHoklch(68.3% 0.159 300.6)
XYZxyz(39.1589, 29.7228, 82.2552)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FEB #C0EB7F
analogous
#7F8AEB #AA7FEB #E07FEB
triadic
#AA7FEB #EBAA7F #7FEBAA
tetradic
#AA7FEB #EB7F8A #C0EB7F #7FEBE0
square
#AA7FEB #EB7F8A #C0EB7F #7FEBE0
split-complementary
#AA7FEB #EBE07F #8AEB7F
monochromatic
#6620CF #874AE3 #AA7FEB #CDB4F3 #EDE5FB

Accessibility & contrast

On white

3.02
#AA7FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AA7FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FEB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FEB#FFFFFF#000000##000000
##AA7FEB1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#9E92AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7feb;
/* rgb */ color: rgb(170, 127, 235);
/* oklch */ color: oklch(68.3% 0.159 300.6);
Tailwind
colors: {
  custom: {
    50: '#c6a5f2',
    500: '#aa7feb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7feb;
$custom-light: #c6a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7feb",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 263.889,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.683,
    "c": 0.15868,
    "h": 300.6
  },
  "luminance": 0.29723
}

Semantic roles & 50–950 ramp

primary
#AA7FEB
secondary
#E6F1D5
accent
#D51087
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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