#AA6BF7#AA6BF7

#AA6BF7 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.8% C 0.203 H 301.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA6BF7
RGBrgb(170, 107, 247)
HSLhsl(267, 90%, 69%)
HSVhsv(267, 57%, 97%)
CMYKcmyk(31.2%, 56.7%, 0%, 3.1%)
CIE-LABlab(57.82, 52.13, -61.05)
CIE-LCHlch(57.82, 80.28, 310.49°)
OKLaboklab(65.85% 0.1073 -0.1727)
OKLCHoklch(65.85% 0.203 301.8)
XYZxyz(38.6199, 25.7767, 90.9184)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BF7 #B8F76B
analogous
#6B72F7 #AA6BF7 #F06BF7
triadic
#AA6BF7 #F7AA6B #6BF7AA
tetradic
#AA6BF7 #F76B72 #B8F76B #6BF7F0
square
#AA6BF7 #F76B72 #B8F76B #6BF7F0
split-complementary
#AA6BF7 #F7F06B #72F76B
monochromatic
#690CDC #8931F4 #AA6BF7 #CBA5FA #EDDFFD

Accessibility & contrast

On white

3.41
#AA6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AA6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BF7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BF7#FFFFFF#000000##000000
##AA6BF71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFC
Deuteranopia (green-blind)
#478AF4
Tritanopia (blue-blind)
#9B87A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6bf7;
/* rgb */ color: rgb(170, 107, 247);
/* oklch */ color: oklch(65.8% 0.203 301.8);
Tailwind
colors: {
  custom: {
    50: '#c798fa',
    500: '#aa6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bf7;
$custom-light: #c798fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bf7",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 267,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6585,
    "c": 0.20328,
    "h": 301.8
  },
  "luminance": 0.25777
}

Semantic roles & 50–950 ramp

primary
#AA6BF7
secondary
#E1F3CB
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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