#AA7FE3#AA7FE3

#AA7FE3 is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.9% C 0.149 H 302.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AA7FE3
RGBrgb(170, 127, 227)
HSLhsl(266, 64%, 69%)
HSVhsv(266, 44%, 89%)
CMYKcmyk(25.1%, 44.1%, 0%, 11%)
CIE-LABlab(61.02, 36.45, -44.85)
CIE-LCHlch(61.02, 57.80, 309.10°)
OKLaboklab(67.88% 0.0798 -0.1254)
OKLCHoklch(67.88% 0.149 302.5)
XYZxyz(38.0290, 29.2708, 76.3045)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FE3 #B8E37F
analogous
#7F86E3 #AA7FE3 #DC7FE3
triadic
#AA7FE3 #E3AA7F #7FE3AA
tetradic
#AA7FE3 #E37F86 #B8E37F #7FE3DC
square
#AA7FE3 #E37F86 #B8E37F #7FE3DC
split-complementary
#AA7FE3 #E3DC7F #86E37F
monochromatic
#692ABE #894DD8 #AA7FE3 #CBB1EE #EDE3F9

Accessibility & contrast

On white

3.06
#AA7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AA7FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FE3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FE3#FFFFFF#000000##000000
##AA7FE31.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E7
Deuteranopia (green-blind)
#6E93E0
Tritanopia (blue-blind)
#A090A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7fe3;
/* rgb */ color: rgb(170, 127, 227);
/* oklch */ color: oklch(67.9% 0.149 302.5);
Tailwind
colors: {
  custom: {
    50: '#c5a5ec',
    500: '#aa7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fe3;
$custom-light: #c5a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fe3",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 265.8,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.14862,
    "h": 302.5
  },
  "luminance": 0.29271
}

Semantic roles & 50–950 ramp

primary
#AA7FE3
secondary
#E1EDD0
accent
#CC1A7F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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