#AA7EFC#AA7EFC

#AA7EFC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.181 H 297.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AA7EFC
RGBrgb(170, 126, 252)
HSLhsl(261, 95%, 74%)
HSVhsv(261, 50%, 99%)
CMYKcmyk(32.5%, 50%, 0%, 1.2%)
CIE-LABlab(62.08, 43.09, -57.01)
CIE-LCHlch(62.08, 71.46, 307.09°)
OKLaboklab(69.08% 0.084 -0.1608)
OKLCHoklch(69.08% 0.181 297.6)
XYZxyz(41.6048, 30.4955, 95.7709)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EFC #D0FC7E
analogous
#7E91FC #AA7EFC #E97EFC
triadic
#AA7EFC #FCAA7E #7EFCAA
tetradic
#AA7EFC #FC7E91 #D0FC7E #7EFCE9
square
#AA7EFC #FC7E91 #D0FC7E #7EFCE9
split-complementary
#AA7EFC #FCE97E #91FC7E
monochromatic
#5B06F9 #8342FB #AA7EFC #D1BAFD #EBE1FE

Accessibility & contrast

On white

2.96
#AA7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AA7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7EFC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EFC#FFFFFF#000000##000000
##AA7EFC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#5B95F9
Tritanopia (blue-blind)
#9896B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7efc;
/* rgb */ color: rgb(170, 126, 252);
/* oklch */ color: oklch(69.1% 0.181 297.6);
Tailwind
colors: {
  custom: {
    50: '#c7a4fe',
    500: '#aa7efc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7efc;
$custom-light: #c7a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7efc",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 260.952,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69085,
    "c": 0.18145,
    "h": 297.6
  },
  "luminance": 0.30496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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