#AA7DE6#AA7DE6

#AA7DE6 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.156 H 302.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AA7DE6
RGBrgb(170, 125, 230)
HSLhsl(266, 68%, 70%)
HSVhsv(266, 46%, 90%)
CMYKcmyk(26.1%, 45.7%, 0%, 9.8%)
CIE-LABlab(60.72, 38.28, -47.00)
CIE-LCHlch(60.72, 60.62, 309.16°)
OKLaboklab(67.7% 0.0829 -0.1316)
OKLCHoklch(67.7% 0.156 302.2)
XYZxyz(38.1909, 28.9264, 78.4189)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DE6 #B9E67D
analogous
#7D85E6 #AA7DE6 #DE7DE6
triadic
#AA7DE6 #E6AA7D #7DE6AA
tetradic
#AA7DE6 #E67D85 #B9E67D #7DE6DE
square
#AA7DE6 #E67D85 #B9E67D #7DE6DE
split-complementary
#AA7DE6 #E6DE7D #85E67D
monochromatic
#6926C3 #884ADC #AA7DE6 #CCB0F0 #EDE4FA

Accessibility & contrast

On white

3.09
#AA7DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AA7DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7DE6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DE6#FFFFFF#000000##000000
##AA7DE61.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EA
Deuteranopia (green-blind)
#6A92E3
Tritanopia (blue-blind)
#9F8FA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7de6;
/* rgb */ color: rgb(170, 125, 230);
/* oklch */ color: oklch(67.7% 0.156 302.2);
Tailwind
colors: {
  custom: {
    50: '#c5a3ee',
    500: '#aa7de6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7de6;
$custom-light: #c5a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7de6",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 265.714,
    "s": 67.742,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67696,
    "c": 0.15558,
    "h": 302.2
  },
  "luminance": 0.28926
}

Semantic roles & 50–950 ramp

primary
#AA7DE6
secondary
#E2EED0
accent
#D01680
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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