#AA6BEB#AA6BEB

#AA6BEB is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.1% C 0.189 H 304.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AA6BEB
RGBrgb(170, 107, 235)
HSLhsl(270, 76%, 67%)
HSVhsv(270, 54%, 92%)
CMYKcmyk(27.7%, 54.5%, 0%, 7.8%)
CIE-LABlab(57.13, 49.28, -55.48)
CIE-LCHlch(57.13, 74.21, 311.61°)
OKLaboklab(65.12% 0.107 -0.1564)
OKLCHoklch(65.12% 0.189 304.4)
XYZxyz(36.8274, 25.0597, 81.4780)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BEB #ACEB6B
analogous
#6B6CEB #AA6BEB #EA6BEB
triadic
#AA6BEB #EBAA6B #6BEBAA
tetradic
#AA6BEB #EB6B6C #ACEB6B #6BEBEA
square
#AA6BEB #EB6B6C #ACEB6B #6BEBEA
split-complementary
#AA6BEB #EBEA6B #6CEB6B
monochromatic
#6C1AC1 #8B35E4 #AA6BEB #C9A1F2 #E8D7FA

Accessibility & contrast

On white

3.49
#AA6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#AA6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BEB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BEB#FFFFFF#000000##000000
##AA6BEB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#9F83A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6beb;
/* rgb */ color: rgb(170, 107, 235);
/* oklch */ color: oklch(65.1% 0.189 304.4);
Tailwind
colors: {
  custom: {
    50: '#c797f2',
    500: '#aa6beb',
    950: '#000000',
  },
}
SCSS
$custom: #aa6beb;
$custom-light: #c797f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6beb",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 269.531,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6512,
    "c": 0.18945,
    "h": 304.4
  },
  "luminance": 0.2506
}

Semantic roles & 50–950 ramp

primary
#AA6BEB
secondary
#D9EDC5
accent
#D80D74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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