#A64BB7#A64BB7

#A64BB7 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.181 H 321.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A64BB7
RGBrgb(166, 75, 183)
HSLhsl(291, 43%, 51%)
HSVhsv(291, 59%, 72%)
CMYKcmyk(9.3%, 59%, 0%, 28.2%)
CIE-LABlab(47.70, 53.25, -40.87)
CIE-LCHlch(47.70, 67.13, 322.50°)
OKLaboklab(57.18% 0.1408 -0.1136)
OKLCHoklch(57.18% 0.181 321.1)
XYZxyz(26.7882, 16.5593, 46.5758)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BB7 #5CB74B
analogous
#704BB7 #A64BB7 #B74B92
triadic
#A64BB7 #B7A64B #4BB7A6
tetradic
#A64BB7 #B7704B #5CB74B #4B92B7
square
#A64BB7 #B7704B #5CB74B #4B92B7
split-complementary
#A64BB7 #92B74B #4BB770
monochromatic
#582761 #7F388D #A64BB7 #BC77C8 #D1A2DA

Accessibility & contrast

On white

4.87
#A64BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A64BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64BB7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64BB7#FFFFFF#000000##FFFFFF
##A64BB71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#A75B7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64bb7;
/* rgb */ color: rgb(166, 75, 183);
/* oklch */ color: oklch(57.2% 0.181 321.1);
Tailwind
colors: {
  custom: {
    50: '#c382cd',
    500: '#a64bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a64bb7;
$custom-light: #c382cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a64bb7",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 290.556,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.18093,
    "h": 321.1
  },
  "luminance": 0.16558
}

Semantic roles & 50–950 ramp

primary
#A64BB7
secondary
#9EC797
accent
#D35569
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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