#AA6FDF#AA6FDF

#AA6FDF is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.169 H 306.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA6FDF
RGBrgb(170, 111, 223)
HSLhsl(272, 64%, 65%)
HSVhsv(272, 50%, 87%)
CMYKcmyk(23.8%, 50.2%, 0%, 12.5%)
CIE-LABlab(57.31, 44.35, -48.48)
CIE-LCHlch(57.31, 65.71, 312.45°)
OKLaboklab(65.04% 0.101 -0.1359)
OKLCHoklch(65.04% 0.169 306.6)
XYZxyz(35.5786, 25.2430, 72.7958)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FDF #A4DF6F
analogous
#726FDF #AA6FDF #DF6FDC
triadic
#AA6FDF #DFAA6F #6FDFAA
tetradic
#AA6FDF #DF726F #A4DF6F #6FDCDF
square
#AA6FDF #DF726F #A4DF6F #6FDCDF
split-complementary
#AA6FDF #DCDF6F #6FDF72
monochromatic
#6D26AD #8C3DD4 #AA6FDF #C8A1EA #E5D3F5

Accessibility & contrast

On white

3.47
#AA6FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AA6FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FDF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FDF#FFFFFF#000000##000000
##AA6FDF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E3
Deuteranopia (green-blind)
#608ADC
Tritanopia (blue-blind)
#A2839D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6fdf;
/* rgb */ color: rgb(170, 111, 223);
/* oklch */ color: oklch(65.0% 0.169 306.6);
Tailwind
colors: {
  custom: {
    50: '#c69ae9',
    500: '#aa6fdf',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fdf;
$custom-light: #c69ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fdf",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 271.607,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.16931,
    "h": 306.6
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

primary
#AA6FDF
secondary
#D4E8C2
accent
#CB1A6E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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