#AA6BF1#AA6BF1

#AA6BF1 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.5% C 0.196 H 303.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA6BF1
RGBrgb(170, 107, 241)
HSLhsl(268, 83%, 68%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(29.5%, 55.6%, 0%, 5.5%)
CIE-LABlab(57.48, 50.70, -58.28)
CIE-LCHlch(57.48, 77.24, 311.02°)
OKLaboklab(65.48% 0.1072 -0.1646)
OKLCHoklch(65.48% 0.196 303.1)
XYZxyz(37.7089, 25.4123, 86.1205)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BF1 #B2F16B
analogous
#6B6FF1 #AA6BF1 #ED6BF1
triadic
#AA6BF1 #F1AA6B #6BF1AA
tetradic
#AA6BF1 #F16B6F #B2F16B #6BF1ED
square
#AA6BF1 #F16B6F #B2F16B #6BF1ED
split-complementary
#AA6BF1 #F1ED6B #6FF16B
monochromatic
#6B13CE #8A33EC #AA6BF1 #CAA3F6 #EADBFC

Accessibility & contrast

On white

3.45
#AA6BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AA6BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BF1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BF1#FFFFFF#000000##000000
##AA6BF11.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#4D8AEE
Tritanopia (blue-blind)
#9D85A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6bf1;
/* rgb */ color: rgb(170, 107, 241);
/* oklch */ color: oklch(65.5% 0.196 303.1);
Tailwind
colors: {
  custom: {
    50: '#c797f6',
    500: '#aa6bf1',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bf1;
$custom-light: #c797f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bf1",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 268.209,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65481,
    "c": 0.19638,
    "h": 303.1
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#AA6BF1
secondary
#DDF0C8
accent
#DF0679
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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