#AA6BE7#AA6BE7

#AA6BE7 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.185 H 305.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA6BE7
RGBrgb(170, 107, 231)
HSLhsl(270, 72%, 66%)
HSVhsv(270, 54%, 91%)
CMYKcmyk(26.4%, 53.7%, 0%, 9.4%)
CIE-LABlab(56.91, 48.35, -53.60)
CIE-LCHlch(56.91, 72.19, 312.05°)
OKLaboklab(64.88% 0.1068 -0.1509)
OKLCHoklch(64.88% 0.185 305.3)
XYZxyz(36.2560, 24.8312, 78.4687)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BE7 #A8E76B
analogous
#6C6BE7 #AA6BE7 #E76BE6
triadic
#AA6BE7 #E7AA6B #6BE7AA
tetradic
#AA6BE7 #E76C6B #A8E76B #6BE6E7
square
#AA6BE7 #E76C6B #A8E76B #6BE6E7
split-complementary
#AA6BE7 #E6E76B #6BE76C
monochromatic
#6D1EBA #8C36DE #AA6BE7 #C8A0F0 #E6D4F8

Accessibility & contrast

On white

3.52
#AA6BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AA6BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BE7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BE7#FFFFFF#000000##000000
##AA6BE71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#5689E4
Tritanopia (blue-blind)
#A0829F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6be7;
/* rgb */ color: rgb(170, 107, 231);
/* oklch */ color: oklch(64.9% 0.185 305.3);
Tailwind
colors: {
  custom: {
    50: '#c697ef',
    500: '#aa6be7',
    950: '#000000',
  },
}
SCSS
$custom: #aa6be7;
$custom-light: #c697ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6be7",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 270.484,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.18483,
    "h": 305.3
  },
  "luminance": 0.24831
}

Semantic roles & 50–950 ramp

primary
#AA6BE7
secondary
#D7EBC3
accent
#D41171
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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