#AA7FF4#AA7FF4

#AA7FF4 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.170 H 298.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AA7FF4
RGBrgb(170, 127, 244)
HSLhsl(262, 84%, 73%)
HSVhsv(262, 48%, 96%)
CMYKcmyk(30.3%, 48%, 0%, 4.3%)
CIE-LABlab(61.87, 40.56, -52.93)
CIE-LCHlch(61.87, 66.68, 307.46°)
OKLaboklab(68.8% 0.082 -0.1489)
OKLCHoklch(68.8% 0.17 298.8)
XYZxyz(40.4922, 30.2561, 89.2771)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FF4 #C9F47F
analogous
#7F8EF4 #AA7FF4 #E47FF4
triadic
#AA7FF4 #F4AA7F #7FF4AA
tetradic
#AA7FF4 #F47F8E #C9F47F #7FF4E4
square
#AA7FF4 #F47F8E #C9F47F #7FF4E4
split-complementary
#AA7FF4 #F4E47F #8EF47F
monochromatic
#6114E5 #8547EF #AA7FF4 #CFB7F9 #ECE3FD

Accessibility & contrast

On white

2.98
#AA7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#AA7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7FF4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FF4#FFFFFF#000000##000000
##AA7FF41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F8
Deuteranopia (green-blind)
#6394F1
Tritanopia (blue-blind)
#9B95AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa7ff4;
/* rgb */ color: rgb(170, 127, 244);
/* oklch */ color: oklch(68.8% 0.170 298.8);
Tailwind
colors: {
  custom: {
    50: '#c6a5f8',
    500: '#aa7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ff4;
$custom-light: #c6a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ff4",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 262.051,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68795,
    "c": 0.16998,
    "h": 298.8
  },
  "luminance": 0.30256
}

Semantic roles & 50–950 ramp

primary
#AA7FF4
secondary
#E9F5D6
accent
#E10590
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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