#AA7EFF#AA7EFF

#AA7EFF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.185 H 297.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AA7EFF
RGBrgb(170, 126, 255)
HSLhsl(260, 100%, 75%)
HSVhsv(260, 51%, 100%)
CMYKcmyk(33.3%, 50.6%, 0%, 0%)
CIE-LABlab(62.24, 43.84, -58.39)
CIE-LCHlch(62.24, 73.02, 306.90°)
OKLaboklab(69.26% 0.0842 -0.1649)
OKLCHoklch(69.26% 0.185 297)
XYZxyz(42.0839, 30.6872, 98.2944)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EFF #D3FF7E
analogous
#7E93FF #AA7EFF #EA7EFF
triadic
#AA7EFF #FFAA7E #7EFFAA
tetradic
#AA7EFF #FF7E93 #D3FF7E #7EFFEA
square
#AA7EFF #FF7E93 #D3FF7E #7EFFEA
split-complementary
#AA7EFF #FFEA7E #93FF7E
monochromatic
#5904FF #8241FF #AA7EFF #D2BBFF #EBE0FF

Accessibility & contrast

On white

2.94
#AA7EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AA7EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7EFF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EFF#FFFFFF#000000##000000
##AA7EFF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#5995FC
Tritanopia (blue-blind)
#9797B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7eff;
/* rgb */ color: rgb(170, 126, 255);
/* oklch */ color: oklch(69.3% 0.185 297.0);
Tailwind
colors: {
  custom: {
    50: '#c7a4ff',
    500: '#aa7eff',
    950: '#000000',
  },
}
SCSS
$custom: #aa7eff;
$custom-light: #c7a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7eff",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 260.465,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69259,
    "c": 0.18516,
    "h": 297
  },
  "luminance": 0.30688
}

Semantic roles & 50–950 ramp

primary
#AA7EFF
secondary
#EBF7D4
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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