#AA6FE4#AA6FE4

#AA6FE4 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.175 H 305.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AA6FE4
RGBrgb(170, 111, 228)
HSLhsl(270, 68%, 66%)
HSVhsv(270, 51%, 89%)
CMYKcmyk(25.4%, 51.3%, 0%, 10.6%)
CIE-LABlab(57.58, 45.51, -50.87)
CIE-LCHlch(57.58, 68.25, 311.82°)
OKLaboklab(65.32% 0.1014 -0.1429)
OKLCHoklch(65.32% 0.175 305.4)
XYZxyz(36.2626, 25.5166, 76.3986)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FE4 #A9E46F
analogous
#706FE4 #AA6FE4 #E46FE4
triadic
#AA6FE4 #E4AA6F #6FE4AA
tetradic
#AA6FE4 #E4706F #A9E46F #6FE4E4
square
#AA6FE4 #E4706F #A9E46F #6FE4E4
split-complementary
#AA6FE4 #E4E46F #6FE470
monochromatic
#6D22B6 #8C3BDA #AA6FE4 #C8A3EE #E7D6F7

Accessibility & contrast

On white

3.44
#AA6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AA6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FE4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FE4#FFFFFF#000000##000000
##AA6FE41.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E8
Deuteranopia (green-blind)
#5C8BE1
Tritanopia (blue-blind)
#A0849F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6fe4;
/* rgb */ color: rgb(170, 111, 228);
/* oklch */ color: oklch(65.3% 0.175 305.4);
Tailwind
colors: {
  custom: {
    50: '#c69aed',
    500: '#aa6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fe4;
$custom-light: #c69aed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fe4",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 270.256,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.1752,
    "h": 305.4
  },
  "luminance": 0.25516
}

Semantic roles & 50–950 ramp

primary
#AA6FE4
secondary
#D7EAC4
accent
#D01572
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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