#AA6DFA#AA6DFA

#AA6DFA is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.3% C 0.204 H 301.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AA6DFA
RGBrgb(170, 109, 250)
HSLhsl(266, 93%, 70%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(32%, 56.4%, 0%, 2%)
CIE-LABlab(58.40, 51.79, -61.79)
CIE-LCHlch(58.40, 80.62, 309.97°)
OKLaboklab(66.33% 0.1049 -0.1748)
OKLCHoklch(66.33% 0.204 301)
XYZxyz(39.2974, 26.3853, 93.4465)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DFA #BDFA6D
analogous
#6D77FA #AA6DFA #F06DFA
triadic
#AA6DFA #FAAA6D #6DFAAA
tetradic
#AA6DFA #FA6D77 #BDFA6D #6DFAF0
square
#AA6DFA #FA6D77 #BDFA6D #6DFAF0
split-complementary
#AA6DFA #FAF06D #77FA6D
monochromatic
#6708E5 #8832F8 #AA6DFA #CCA8FC #EEE1FE

Accessibility & contrast

On white

3.35
#AA6DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AA6DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DFA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DFA#FFFFFF#000000##000000
##AA6DFA1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#9A89A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6dfa;
/* rgb */ color: rgb(170, 109, 250);
/* oklch */ color: oklch(66.3% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#c799fd',
    500: '#aa6dfa',
    950: '#000000',
  },
}
SCSS
$custom: #aa6dfa;
$custom-light: #c799fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6dfa",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 265.957,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.20388,
    "h": 301
  },
  "luminance": 0.26385
}

Semantic roles & 50–950 ramp

primary
#AA6DFA
secondary
#E4F5CE
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA6DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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