#AA6BF8#AA6BF8

#AA6BF8 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.9% C 0.204 H 301.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA6BF8
RGBrgb(170, 107, 248)
HSLhsl(267, 91%, 70%)
HSVhsv(267, 57%, 97%)
CMYKcmyk(31.5%, 56.9%, 0%, 2.7%)
CIE-LABlab(57.88, 52.36, -61.51)
CIE-LCHlch(57.88, 80.78, 310.41°)
OKLaboklab(65.91% 0.1073 -0.174)
OKLCHoklch(65.91% 0.204 301.6)
XYZxyz(38.7746, 25.8386, 91.7333)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BF8 #B9F86B
analogous
#6B72F8 #AA6BF8 #F16BF8
triadic
#AA6BF8 #F8AA6B #6BF8AA
tetradic
#AA6BF8 #F86B72 #B9F86B #6BF8F1
square
#AA6BF8 #F86B72 #B9F86B #6BF8F1
split-complementary
#AA6BF8 #F8F16B #72F86B
monochromatic
#690BDE #8831F5 #AA6BF8 #CCA5FB #EDE0FE

Accessibility & contrast

On white

3.40
#AA6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AA6BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BF8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BF8#FFFFFF#000000##000000
##AA6BF81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#9B87A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6bf8;
/* rgb */ color: rgb(170, 107, 248);
/* oklch */ color: oklch(65.9% 0.204 301.6);
Tailwind
colors: {
  custom: {
    50: '#c798fb',
    500: '#aa6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bf8;
$custom-light: #c798fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bf8",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 266.809,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65912,
    "c": 0.20443,
    "h": 301.6
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#AA6BF8
secondary
#E2F4CB
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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