#AA6EFB#AA6EFB

#AA6EFB is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.5% C 0.204 H 300.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AA6EFB
RGBrgb(170, 110, 251)
HSLhsl(266, 95%, 71%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(32.3%, 56.2%, 0%, 1.6%)
CIE-LABlab(58.66, 51.51, -61.92)
CIE-LCHlch(58.66, 80.54, 309.75°)
OKLaboklab(66.54% 0.1037 -0.1752)
OKLCHoklch(66.54% 0.204 300.6)
XYZxyz(39.5619, 26.6627, 94.3102)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6EFB #BFFB6E
analogous
#6E78FB #AA6EFB #F16EFB
triadic
#AA6EFB #FBAA6E #6EFBAA
tetradic
#AA6EFB #FB6E78 #BFFB6E #6EFBF1
square
#AA6EFB #FB6E78 #BFFB6E #6EFBF1
split-complementary
#AA6EFB #FBF16E #78FB6E
monochromatic
#6606E8 #8732F9 #AA6EFB #CDAAFD #EEE1FE

Accessibility & contrast

On white

3.32
#AA6EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AA6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6EFB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6EFB#FFFFFF#000000##000000
##AA6EFB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#998AAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa6efb;
/* rgb */ color: rgb(170, 110, 251);
/* oklch */ color: oklch(66.5% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#c79afd',
    500: '#aa6efb',
    950: '#000000',
  },
}
SCSS
$custom: #aa6efb;
$custom-light: #c79afd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6efb",
  "rgb": {
    "r": 170,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 265.532,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.20362,
    "h": 300.6
  },
  "luminance": 0.26663
}

Semantic roles & 50–950 ramp

primary
#AA6EFB
secondary
#E5F5CF
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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