#AA6FFB#AA6FFB

#AA6FFB is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.7% C 0.202 H 300.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA6FFB
RGBrgb(170, 111, 251)
HSLhsl(265, 95%, 71%)
HSVhsv(265, 56%, 98%)
CMYKcmyk(32.3%, 55.8%, 0%, 1.6%)
CIE-LABlab(58.86, 50.98, -61.60)
CIE-LCHlch(58.86, 79.96, 309.61°)
OKLaboklab(66.69% 0.1025 -0.1743)
OKLCHoklch(66.69% 0.202 300.5)
XYZxyz(39.6704, 26.8797, 94.3464)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FFB #C0FB6F
analogous
#6F7AFB #AA6FFB #F06FFB
triadic
#AA6FFB #FBAA6F #6FFBAA
tetradic
#AA6FFB #FB6F7A #C0FB6F #6FFBF0
square
#AA6FFB #FB6F7A #C0FB6F #6FFBF0
split-complementary
#AA6FFB #FBF06F #7AFB6F
monochromatic
#6606E9 #8733F9 #AA6FFB #CDABFD #EDE1FE

Accessibility & contrast

On white

3.29
#AA6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AA6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FFB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FFB#FFFFFF#000000##000000
##AA6FFB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#998BAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa6ffb;
/* rgb */ color: rgb(170, 111, 251);
/* oklch */ color: oklch(66.7% 0.202 300.5);
Tailwind
colors: {
  custom: {
    50: '#c79afd',
    500: '#aa6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ffb;
$custom-light: #c79afd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ffb",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 265.286,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66687,
    "c": 0.20219,
    "h": 300.5
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

primary
#AA6FFB
secondary
#E6F6D0
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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