#AA6BF3#AA6BF3

#AA6BF3 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.6% C 0.199 H 302.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA6BF3
RGBrgb(170, 107, 243)
HSLhsl(268, 85%, 69%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(30%, 56%, 0%, 4.7%)
CIE-LABlab(57.59, 51.17, -59.21)
CIE-LCHlch(57.59, 78.25, 310.84°)
OKLaboklab(65.6% 0.1072 -0.1673)
OKLCHoklch(65.6% 0.199 302.7)
XYZxyz(38.0092, 25.5325, 87.7025)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BF3 #B4F36B
analogous
#6B70F3 #AA6BF3 #EE6BF3
triadic
#AA6BF3 #F3AA6B #6BF3AA
tetradic
#AA6BF3 #F36B70 #B4F36B #6BF3EE
square
#AA6BF3 #F36B70 #B4F36B #6BF3EE
split-complementary
#AA6BF3 #F3EE6B #70F36B
monochromatic
#6B11D3 #8932EE #AA6BF3 #CBA4F8 #EBDCFC

Accessibility & contrast

On white

3.44
#AA6BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AA6BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BF3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BF3#FFFFFF#000000##000000
##AA6BF31.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3289F7
Deuteranopia (green-blind)
#4B8AF0
Tritanopia (blue-blind)
#9C86A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6bf3;
/* rgb */ color: rgb(170, 107, 243);
/* oklch */ color: oklch(65.6% 0.199 302.7);
Tailwind
colors: {
  custom: {
    50: '#c798f8',
    500: '#aa6bf3',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bf3;
$custom-light: #c798f8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bf3",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 267.794,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.19867,
    "h": 302.7
  },
  "luminance": 0.25533
}

Semantic roles & 50–950 ramp

primary
#AA6BF3
secondary
#DEF1C9
accent
#E1047B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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