#AA7FE6#AA7FE6

#AA7FE6 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.152 H 301.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AA7FE6
RGBrgb(170, 127, 230)
HSLhsl(265, 67%, 70%)
HSVhsv(265, 45%, 90%)
CMYKcmyk(26.1%, 44.8%, 0%, 9.8%)
CIE-LABlab(61.17, 37.17, -46.29)
CIE-LCHlch(61.17, 59.37, 308.76°)
OKLaboklab(68.03% 0.0802 -0.1296)
OKLCHoklch(68.03% 0.152 301.8)
XYZxyz(38.4467, 29.4379, 78.5042)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FE6 #BBE67F
analogous
#7F87E6 #AA7FE6 #DE7FE6
triadic
#AA7FE6 #E6AA7F #7FE6AA
tetradic
#AA7FE6 #E67F87 #BBE67F #7FE6DE
square
#AA7FE6 #E67F87 #BBE67F #7FE6DE
split-complementary
#AA7FE6 #E6DE7F #87E67F
monochromatic
#6826C4 #884CDC #AA7FE6 #CCB2F0 #EEE5FA

Accessibility & contrast

On white

3.05
#AA7FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AA7FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FE6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FE6#FFFFFF#000000##000000
##AA7FE61.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa7fe6;
/* rgb */ color: rgb(170, 127, 230);
/* oklch */ color: oklch(68.0% 0.152 301.8);
Tailwind
colors: {
  custom: {
    50: '#c5a5ee',
    500: '#aa7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fe6;
$custom-light: #c5a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fe6",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 265.049,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.1524,
    "h": 301.8
  },
  "luminance": 0.29438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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