#AA7CE7#AA7CE7

#AA7CE7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.158 H 302.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AA7CE7
RGBrgb(170, 124, 231)
HSLhsl(266, 69%, 70%)
HSVhsv(266, 46%, 91%)
CMYKcmyk(26.4%, 46.3%, 0%, 9.4%)
CIE-LABlab(60.54, 39.08, -47.83)
CIE-LCHlch(60.54, 61.77, 309.25°)
OKLaboklab(67.58% 0.0844 -0.1341)
OKLCHoklch(67.58% 0.158 302.2)
XYZxyz(38.2058, 28.7308, 79.1186)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CE7 #B9E77C
analogous
#7C84E7 #AA7CE7 #DF7CE7
triadic
#AA7CE7 #E7AA7C #7CE7AA
tetradic
#AA7CE7 #E77C84 #B9E77C #7CE7DF
square
#AA7CE7 #E77C84 #B9E77C #7CE7DF
split-complementary
#AA7CE7 #E7DF7C #84E77C
monochromatic
#6924C5 #8848DE #AA7CE7 #CCB0F0 #EDE3FA

Accessibility & contrast

On white

3.11
#AA7CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AA7CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CE7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CE7#FFFFFF#000000##000000
##AA7CE71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#6892E4
Tritanopia (blue-blind)
#9F8FA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7ce7;
/* rgb */ color: rgb(170, 124, 231);
/* oklch */ color: oklch(67.6% 0.158 302.2);
Tailwind
colors: {
  custom: {
    50: '#c6a3ef',
    500: '#aa7ce7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ce7;
$custom-light: #c6a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ce7",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 265.794,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.15842,
    "h": 302.2
  },
  "luminance": 0.28731
}

Semantic roles & 50–950 ramp

primary
#AA7CE7
secondary
#E2EFD0
accent
#D11580
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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