#AA6BF6#AA6BF6

#AA6BF6 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.8% C 0.202 H 302.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA6BF6
RGBrgb(170, 107, 246)
HSLhsl(267, 89%, 69%)
HSVhsv(267, 57%, 96%)
CMYKcmyk(30.9%, 56.5%, 0%, 3.5%)
CIE-LABlab(57.77, 51.89, -60.59)
CIE-LCHlch(57.77, 79.77, 310.58°)
OKLaboklab(65.79% 0.1072 -0.1713)
OKLCHoklch(65.79% 0.202 302)
XYZxyz(38.4660, 25.7152, 90.1079)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BF6 #B7F66B
analogous
#6B72F6 #AA6BF6 #EF6BF6
triadic
#AA6BF6 #F6AA6B #6BF6AA
tetradic
#AA6BF6 #F66B72 #B7F66B #6BF6EF
square
#AA6BF6 #F66B72 #B7F66B #6BF6EF
split-complementary
#AA6BF6 #F6EF6B #72F66B
monochromatic
#6A0DD9 #8931F2 #AA6BF6 #CBA5FA #ECDEFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA6BF6#FFFFFF#000000##000000
##AA6BF61.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)
#2E8AFB
Deuteranopia (green-blind)
#488AF3
Tritanopia (blue-blind)
#9B87A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6bf6;
/* rgb */ color: rgb(170, 107, 246);
/* oklch */ color: oklch(65.8% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#c798fa',
    500: '#aa6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bf6;
$custom-light: #c798fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bf6",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 267.194,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65788,
    "c": 0.20212,
    "h": 302
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#AA6BF6
secondary
#E0F3CA
accent
#E5007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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