#AA64BF#AA64BF

#AA64BF is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.6% C 0.151 H 318.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AA64BF
RGBrgb(170, 100, 191)
HSLhsl(286, 42%, 57%)
HSVhsv(286, 48%, 75%)
CMYKcmyk(11%, 47.6%, 0%, 25.1%)
CIE-LABlab(53.41, 43.27, -36.47)
CIE-LCHlch(53.41, 56.59, 319.88°)
OKLaboklab(61.62% 0.1123 -0.101)
OKLCHoklch(61.62% 0.151 318.1)
XYZxyz(30.5374, 21.4230, 51.8066)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA64BF #79BF64
analogous
#7D64BF #AA64BF #BF64A7
triadic
#AA64BF #BFAA64 #64BFAA
tetradic
#AA64BF #BF7D64 #79BF64 #64A7BF
square
#AA64BF #BF7D64 #79BF64 #64A7BF
split-complementary
#AA64BF #A7BF64 #64BF7D
monochromatic
#673177 #8D43A3 #AA64BF #C28FD1 #DABBE3

Accessibility & contrast

On white

3.97
#AA64BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AA64BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA64BF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA64BF#FFFFFF#000000##000000
##AA64BF1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#AA7189
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa64bf;
/* rgb */ color: rgb(170, 100, 191);
/* oklch */ color: oklch(61.6% 0.151 318.1);
Tailwind
colors: {
  custom: {
    50: '#c592d2',
    500: '#aa64bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa64bf;
$custom-light: #c592d2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa64bf",
  "rgb": {
    "r": 170,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 286.154,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.15105,
    "h": 318.1
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

primary
#AA64BF
secondary
#B5D2AD
accent
#D15673
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AA64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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