#AA7FEA#AA7FEA

#AA7FEA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.157 H 300.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AA7FEA
RGBrgb(170, 127, 234)
HSLhsl(264, 72%, 71%)
HSVhsv(264, 46%, 92%)
CMYKcmyk(27.4%, 45.7%, 0%, 8.2%)
CIE-LABlab(61.36, 38.13, -48.20)
CIE-LCHlch(61.36, 61.46, 308.34°)
OKLaboklab(68.25% 0.0808 -0.1351)
OKLCHoklch(68.25% 0.157 300.9)
XYZxyz(39.0148, 29.6652, 81.4965)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FEA #BFEA7F
analogous
#7F89EA #AA7FEA #DF7FEA
triadic
#AA7FEA #EAAA7F #7FEAAA
tetradic
#AA7FEA #EA7F89 #BFEA7F #7FEADF
square
#AA7FEA #EA7F89 #BFEA7F #7FEADF
split-complementary
#AA7FEA #EADF7F #89EA7F
monochromatic
#6622CD #874AE1 #AA7FEA #CDB4F3 #EEE5FB

Accessibility & contrast

On white

3.03
#AA7FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AA7FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FEA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FEA#FFFFFF#000000##000000
##AA7FEA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#6A94E7
Tritanopia (blue-blind)
#9E92A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7fea;
/* rgb */ color: rgb(170, 127, 234);
/* oklch */ color: oklch(68.2% 0.157 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6a5f1',
    500: '#aa7fea',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fea;
$custom-light: #c6a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fea",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 264.112,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68247,
    "c": 0.15743,
    "h": 300.9
  },
  "luminance": 0.29665
}

Semantic roles & 50–950 ramp

primary
#AA7FEA
secondary
#E5F1D4
accent
#D41286
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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