#AA6BF5#AA6BF5

#AA6BF5 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.7% C 0.201 H 302.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA6BF5
RGBrgb(170, 107, 245)
HSLhsl(267, 87%, 69%)
HSVhsv(267, 56%, 96%)
CMYKcmyk(30.6%, 56.3%, 0%, 3.9%)
CIE-LABlab(57.71, 51.65, -60.13)
CIE-LCHlch(57.71, 79.27, 310.66°)
OKLaboklab(65.73% 0.1072 -0.17)
OKLCHoklch(65.73% 0.201 302.2)
XYZxyz(38.3129, 25.6540, 89.3018)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BF5 #B6F56B
analogous
#6B71F5 #AA6BF5 #EF6BF5
triadic
#AA6BF5 #F5AA6B #6BF5AA
tetradic
#AA6BF5 #F56B71 #B6F56B #6BF5EF
square
#AA6BF5 #F56B71 #B6F56B #6BF5EF
split-complementary
#AA6BF5 #F5EF6B #71F56B
monochromatic
#6A0FD7 #8932F1 #AA6BF5 #CBA4F9 #ECDEFD

Accessibility & contrast

On white

3.43
#AA6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AA6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BF5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BF5#FFFFFF#000000##000000
##AA6BF51.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFA
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#9C86A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6bf5;
/* rgb */ color: rgb(170, 107, 245);
/* oklch */ color: oklch(65.7% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#c798f9',
    500: '#aa6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bf5;
$custom-light: #c798f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bf5",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 267.391,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.20098,
    "h": 302.2
  },
  "luminance": 0.25654
}

Semantic roles & 50–950 ramp

primary
#AA6BF5
secondary
#E0F2CA
accent
#E4027D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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