#AA6DF1#AA6DF1

#AA6DF1 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.8% C 0.193 H 302.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA6DF1
RGBrgb(170, 109, 241)
HSLhsl(268, 83%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(29.5%, 54.8%, 0%, 5.5%)
CIE-LABlab(57.88, 49.64, -57.63)
CIE-LCHlch(57.88, 76.06, 310.74°)
OKLaboklab(65.78% 0.1047 -0.1627)
OKLCHoklch(65.78% 0.193 302.8)
XYZxyz(37.9198, 25.8342, 86.1908)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DF1 #B4F16D
analogous
#6D72F1 #AA6DF1 #EC6DF1
triadic
#AA6DF1 #F1AA6D #6DF1AA
tetradic
#AA6DF1 #F16D72 #B4F16D #6DF1EC
square
#AA6DF1 #F16D72 #B4F16D #6DF1EC
split-complementary
#AA6DF1 #F1EC6D #72F16D
monochromatic
#6B14D0 #8935EC #AA6DF1 #CBA5F6 #EBDDFC

Accessibility & contrast

On white

3.41
#AA6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AA6DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DF1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DF1#FFFFFF#000000##000000
##AA6DF11.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF5
Deuteranopia (green-blind)
#4F8BEE
Tritanopia (blue-blind)
#9D87A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6df1;
/* rgb */ color: rgb(170, 109, 241);
/* oklch */ color: oklch(65.8% 0.193 302.8);
Tailwind
colors: {
  custom: {
    50: '#c799f6',
    500: '#aa6df1',
    950: '#000000',
  },
}
SCSS
$custom: #aa6df1;
$custom-light: #c799f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6df1",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 267.727,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65778,
    "c": 0.19344,
    "h": 302.8
  },
  "luminance": 0.25834
}

Semantic roles & 50–950 ramp

primary
#AA6DF1
secondary
#DEF1C9
accent
#DF077B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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