#AA6FC8#AA6FC8

#AA6FC8 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.8% C 0.142 H 313.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA6FC8
RGBrgb(170, 111, 200)
HSLhsl(280, 45%, 61%)
HSVhsv(280, 45%, 78%)
CMYKcmyk(15%, 44.5%, 0%, 21.6%)
CIE-LABlab(56.17, 39.21, -37.28)
CIE-LCHlch(56.17, 54.10, 316.45°)
OKLaboklab(63.82% 0.098 -0.1034)
OKLCHoklch(63.82% 0.142 313.5)
XYZxyz(32.6856, 24.0858, 57.5596)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FC8 #8DC86F
analogous
#7D6FC8 #AA6FC8 #C86FB9
triadic
#AA6FC8 #C8AA6F #6FC8AA
tetradic
#AA6FC8 #C87D6F #8DC86F #6FB9C8
square
#AA6FC8 #C87D6F #8DC86F #6FB9C8
split-complementary
#AA6FC8 #B9C86F #6FC87D
monochromatic
#6C3488 #8F45B5 #AA6FC8 #C49BD9 #DEC8EA

Accessibility & contrast

On white

3.61
#AA6FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AA6FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FC8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FC8#FFFFFF#000000##000000
##AA6FC81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#6D88C6
Tritanopia (blue-blind)
#A87C92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa6fc8;
/* rgb */ color: rgb(170, 111, 200);
/* oklch */ color: oklch(63.8% 0.142 313.5);
Tailwind
colors: {
  custom: {
    50: '#c59ad9',
    500: '#aa6fc8',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fc8;
$custom-light: #c59ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fc8",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 279.775,
    "s": 44.724,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63822,
    "c": 0.14243,
    "h": 313.5
  },
  "luminance": 0.24085
}

Semantic roles & 50–950 ramp

primary
#AA6FC8
secondary
#C4DAB9
accent
#B82E5C
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AA6FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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