#AA6BDC#AA6BDC

#AA6BDC is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.3% C 0.172 H 308.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AA6BDC
RGBrgb(170, 107, 220)
HSLhsl(273, 62%, 64%)
HSVhsv(273, 51%, 86%)
CMYKcmyk(22.7%, 51.4%, 0%, 13.7%)
CIE-LABlab(56.32, 45.82, -48.37)
CIE-LCHlch(56.32, 66.63, 313.45°)
OKLaboklab(64.25% 0.106 -0.1356)
OKLCHoklch(64.25% 0.172 308)
XYZxyz(34.7510, 24.2292, 70.5423)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BDC #9DDC6B
analogous
#726BDC #AA6BDC #DC6BD6
triadic
#AA6BDC #DCAA6B #6BDCAA
tetradic
#AA6BDC #DC726B #9DDC6B #6BD6DC
square
#AA6BDC #DC726B #9DDC6B #6BD6DC
split-complementary
#AA6BDC #D6DC6B #6BDC72
monochromatic
#6E27A5 #8E3AD0 #AA6BDC #C69CE8 #E3CEF3

Accessibility & contrast

On white

3.59
#AA6BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AA6BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BDC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BDC#FFFFFF#000000##000000
##AA6BDC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#5E88D9
Tritanopia (blue-blind)
#A37F9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa6bdc;
/* rgb */ color: rgb(170, 107, 220);
/* oklch */ color: oklch(64.3% 0.172 308.0);
Tailwind
colors: {
  custom: {
    50: '#c697e7',
    500: '#aa6bdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bdc;
$custom-light: #c697e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bdc",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 220
  },
  "hsl": {
    "h": 273.451,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64252,
    "c": 0.17212,
    "h": 308
  },
  "luminance": 0.24229
}

Semantic roles & 50–950 ramp

primary
#AA6BDC
secondary
#CFE5BE
accent
#C91C69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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