#AA7FE7#AA7FE7

#AA7FE7 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.1% C 0.154 H 301.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AA7FE7
RGBrgb(170, 127, 231)
HSLhsl(265, 68%, 70%)
HSVhsv(265, 45%, 91%)
CMYKcmyk(26.4%, 45%, 0%, 9.4%)
CIE-LABlab(61.22, 37.41, -46.77)
CIE-LCHlch(61.22, 59.89, 308.65°)
OKLaboklab(68.09% 0.0804 -0.131)
OKLCHoklch(68.09% 0.154 301.5)
XYZxyz(38.5875, 29.4942, 79.2459)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FE7 #BCE77F
analogous
#7F88E7 #AA7FE7 #DE7FE7
triadic
#AA7FE7 #E7AA7F #7FE7AA
tetradic
#AA7FE7 #E77F88 #BCE77F #7FE7DE
square
#AA7FE7 #E77F88 #BCE77F #7FE7DE
split-complementary
#AA7FE7 #E7DE7F #88E77F
monochromatic
#6825C6 #884BDD #AA7FE7 #CCB3F1 #EEE5FA

Accessibility & contrast

On white

3.04
#AA7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AA7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FE7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FE7#FFFFFF#000000##000000
##AA7FE71.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#6B93E4
Tritanopia (blue-blind)
#9F91A8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7fe7;
/* rgb */ color: rgb(170, 127, 231);
/* oklch */ color: oklch(68.1% 0.154 301.5);
Tailwind
colors: {
  custom: {
    50: '#c5a5ef',
    500: '#aa7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fe7;
$custom-light: #c5a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fe7",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 264.808,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68086,
    "c": 0.15365,
    "h": 301.5
  },
  "luminance": 0.29494
}

Semantic roles & 50–950 ramp

primary
#AA7FE7
secondary
#E3EFD2
accent
#D01583
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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