#AA6CF8#AA6CF8

#AA6CF8 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.1% C 0.203 H 301.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA6CF8
RGBrgb(170, 108, 248)
HSLhsl(267, 91%, 70%)
HSVhsv(267, 56%, 97%)
CMYKcmyk(31.5%, 56.5%, 0%, 2.7%)
CIE-LABlab(58.08, 51.84, -61.19)
CIE-LCHlch(58.08, 80.20, 310.27°)
OKLaboklab(66.06% 0.1061 -0.1731)
OKLCHoklch(66.06% 0.203 301.5)
XYZxyz(38.8794, 26.0483, 91.7683)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6CF8 #BAF86C
analogous
#6C74F8 #AA6CF8 #F06CF8
triadic
#AA6CF8 #F8AA6C #6CF8AA
tetradic
#AA6CF8 #F86C74 #BAF86C #6CF8F0
square
#AA6CF8 #F86C74 #BAF86C #6CF8F0
split-complementary
#AA6CF8 #F8F06C #74F86C
monochromatic
#690BDF #8832F5 #AA6CF8 #CCA6FB #EEE1FE

Accessibility & contrast

On white

3.38
#AA6CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AA6CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6CF8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6CF8#FFFFFF#000000##000000
##AA6CF81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8BFD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#9A88A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6cf8;
/* rgb */ color: rgb(170, 108, 248);
/* oklch */ color: oklch(66.1% 0.203 301.5);
Tailwind
colors: {
  custom: {
    50: '#c798fb',
    500: '#aa6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa6cf8;
$custom-light: #c798fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6cf8",
  "rgb": {
    "r": 170,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 266.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.20299,
    "h": 301.5
  },
  "luminance": 0.26048
}

Semantic roles & 50–950 ramp

primary
#AA6CF8
secondary
#E2F4CC
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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