#AA6BED#AA6BED

#AA6BED is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.2% C 0.192 H 303.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA6BED
RGBrgb(170, 107, 237)
HSLhsl(269, 78%, 67%)
HSVhsv(269, 55%, 93%)
CMYKcmyk(28.3%, 54.9%, 0%, 7.1%)
CIE-LABlab(57.25, 49.75, -56.42)
CIE-LCHlch(57.25, 75.22, 311.41°)
OKLaboklab(65.24% 0.1071 -0.1591)
OKLCHoklch(65.24% 0.192 303.9)
XYZxyz(37.1179, 25.1760, 83.0083)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BED #AEED6B
analogous
#6B6DED #AA6BED #EB6BED
triadic
#AA6BED #EDAA6B #6BEDAA
tetradic
#AA6BED #ED6B6D #AEED6B #6BEDEB
square
#AA6BED #ED6B6D #AEED6B #6BEDEB
split-complementary
#AA6BED #EDEB6B #6DED6B
monochromatic
#6C18C6 #8B34E6 #AA6BED #C9A2F4 #E9D8FA

Accessibility & contrast

On white

3.48
#AA6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AA6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BED
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BED#FFFFFF#000000##000000
##AA6BED1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#9E84A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6bed;
/* rgb */ color: rgb(170, 107, 237);
/* oklch */ color: oklch(65.2% 0.192 303.9);
Tailwind
colors: {
  custom: {
    50: '#c797f3',
    500: '#aa6bed',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bed;
$custom-light: #c797f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bed",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 269.077,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65239,
    "c": 0.19176,
    "h": 303.9
  },
  "luminance": 0.25176
}

Semantic roles & 50–950 ramp

primary
#AA6BED
secondary
#DBEEC6
accent
#DB0B76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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