#A64BB5#A64BB5

#A64BB5 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.179 H 321.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A64BB5
RGBrgb(166, 75, 181)
HSLhsl(292, 42%, 50%)
HSVhsv(292, 59%, 71%)
CMYKcmyk(8.3%, 58.6%, 0%, 29%)
CIE-LABlab(47.59, 52.87, -39.87)
CIE-LCHlch(47.59, 66.21, 322.98°)
OKLaboklab(57.06% 0.1407 -0.1107)
OKLCHoklch(57.06% 0.179 321.8)
XYZxyz(26.5815, 16.4766, 45.4873)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BB5 #5AB54B
analogous
#714BB5 #A64BB5 #B54B8F
triadic
#A64BB5 #B5A64B #4BB5A6
tetradic
#A64BB5 #B5714B #5AB54B #4B8FB5
square
#A64BB5 #B5714B #5AB54B #4B8FB5
split-complementary
#A64BB5 #8FB54B #4BB571
monochromatic
#57275F #7F398A #A64BB5 #BB76C7 #D1A2D9

Accessibility & contrast

On white

4.89
#A64BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A64BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64BB5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64BB5#FFFFFF#000000##FFFFFF
##A64BB51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#5774B2
Tritanopia (blue-blind)
#A85B79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64bb5;
/* rgb */ color: rgb(166, 75, 181);
/* oklch */ color: oklch(57.1% 0.179 321.8);
Tailwind
colors: {
  custom: {
    50: '#c382cb',
    500: '#a64bb5',
    950: '#000000',
  },
}
SCSS
$custom: #a64bb5;
$custom-light: #c382cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a64bb5",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 291.509,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.17903,
    "h": 321.8
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#A64BB5
secondary
#9DC696
accent
#D25668
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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