#AA6BF2#AA6BF2

#AA6BF2 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.5% C 0.198 H 302.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA6BF2
RGBrgb(170, 107, 242)
HSLhsl(268, 84%, 68%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(29.8%, 55.8%, 0%, 5.1%)
CIE-LABlab(57.53, 50.93, -58.74)
CIE-LCHlch(57.53, 77.75, 310.93°)
OKLaboklab(65.54% 0.1072 -0.1659)
OKLCHoklch(65.54% 0.198 302.9)
XYZxyz(37.8586, 25.4723, 86.9093)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BF2 #B3F26B
analogous
#6B6FF2 #AA6BF2 #ED6BF2
triadic
#AA6BF2 #F2AA6B #6BF2AA
tetradic
#AA6BF2 #F26B6F #B3F26B #6BF2ED
square
#AA6BF2 #F26B6F #B3F26B #6BF2ED
split-complementary
#AA6BF2 #F2ED6B #6FF26B
monochromatic
#6B12D0 #8A33ED #AA6BF2 #CAA3F7 #EBDCFC

Accessibility & contrast

On white

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

On black

6.09
#AA6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BF2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BF2#FFFFFF#000000##000000
##AA6BF21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#9C85A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6bf2;
/* rgb */ color: rgb(170, 107, 242);
/* oklch */ color: oklch(65.5% 0.198 302.9);
Tailwind
colors: {
  custom: {
    50: '#c797f7',
    500: '#aa6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bf2;
$custom-light: #c797f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bf2",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 268,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.19753,
    "h": 302.9
  },
  "luminance": 0.25472
}

Semantic roles & 50–950 ramp

primary
#AA6BF2
secondary
#DEF1C8
accent
#E0057A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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