#AA6DEF#AA6DEF

#AA6DEF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.7% C 0.191 H 303.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA6DEF
RGBrgb(170, 109, 239)
HSLhsl(268, 80%, 68%)
HSVhsv(268, 54%, 94%)
CMYKcmyk(28.9%, 54.4%, 0%, 6.3%)
CIE-LABlab(57.77, 49.16, -56.70)
CIE-LCHlch(57.77, 75.05, 310.93°)
OKLaboklab(65.66% 0.1046 -0.1599)
OKLCHoklch(65.66% 0.191 303.2)
XYZxyz(37.6227, 25.7154, 84.6261)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DEF #B2EF6D
analogous
#6D71EF #AA6DEF #EB6DEF
triadic
#AA6DEF #EFAA6D #6DEFAA
tetradic
#AA6DEF #EF6D71 #B2EF6D #6DEFEB
square
#AA6DEF #EF6D71 #B2EF6D #6DEFEB
split-complementary
#AA6DEF #EFEB6D #71EF6D
monochromatic
#6B16CB #8A36E9 #AA6DEF #CAA4F5 #EADBFB

Accessibility & contrast

On white

3.42
#AA6DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AA6DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DEF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DEF#FFFFFF#000000##000000
##AA6DEF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F3
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#9D86A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6def;
/* rgb */ color: rgb(170, 109, 239);
/* oklch */ color: oklch(65.7% 0.191 303.2);
Tailwind
colors: {
  custom: {
    50: '#c799f5',
    500: '#aa6def',
    950: '#000000',
  },
}
SCSS
$custom: #aa6def;
$custom-light: #c799f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6def",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 268.154,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65658,
    "c": 0.19111,
    "h": 303.2
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#AA6DEF
secondary
#DDF0C8
accent
#DD0979
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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