#A64BA2#A64BA2

#A64BA2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.161 H 329.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A64BA2
RGBrgb(166, 75, 162)
HSLhsl(303, 38%, 47%)
HSVhsv(303, 55%, 65%)
CMYKcmyk(0%, 54.8%, 2.4%, 34.9%)
CIE-LABlab(46.64, 49.33, -30.18)
CIE-LCHlch(46.64, 57.83, 328.54°)
OKLaboklab(56.06% 0.1387 -0.0828)
OKLCHoklch(56.06% 0.161 329.2)
XYZxyz(24.7633, 15.7493, 35.9110)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BA2 #4BA64F
analogous
#7C4BA6 #A64BA2 #A64B75
triadic
#A64BA2 #A2A64B #4BA2A6
tetradic
#A64BA2 #A67C4B #4BA64F #4B75A6
square
#A64BA2 #A67C4B #4BA64F #4B75A6
split-complementary
#A64BA2 #75A64B #4BA67C
monochromatic
#522550 #7C3879 #A64BA2 #BE70BB #D19ACF

Accessibility & contrast

On white

5.06
#A64BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A64BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64BA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64BA2#FFFFFF#000000##FFFFFF
##A64BA21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#AB546F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a64ba2;
/* rgb */ color: rgb(166, 75, 162);
/* oklch */ color: oklch(56.1% 0.161 329.2);
Tailwind
colors: {
  custom: {
    50: '#c382be',
    500: '#a64ba2',
    950: '#000000',
  },
}
SCSS
$custom: #a64ba2;
$custom-light: #c382be;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ba2",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 302.637,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56059,
    "c": 0.16149,
    "h": 329.2
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#A64BA2
secondary
#8FBE91
accent
#CE5F5A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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