#A64BB3#A64BB3

#A64BB3 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.177 H 322.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A64BB3
RGBrgb(166, 75, 179)
HSLhsl(293, 41%, 50%)
HSVhsv(293, 58%, 70%)
CMYKcmyk(7.3%, 58.1%, 0%, 29.8%)
CIE-LABlab(47.49, 52.48, -38.86)
CIE-LCHlch(47.49, 65.30, 323.48°)
OKLaboklab(56.95% 0.1405 -0.1078)
OKLCHoklch(56.95% 0.177 322.5)
XYZxyz(26.3778, 16.3951, 44.4142)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BB3 #58B34B
analogous
#724BB3 #A64BB3 #B34B8C
triadic
#A64BB3 #B3A64B #4BB3A6
tetradic
#A64BB3 #B3724B #58B34B #4B8CB3
square
#A64BB3 #B3724B #58B34B #4B8CB3
split-complementary
#A64BB3 #8CB34B #4BB372
monochromatic
#56275D #7E3988 #A64BB3 #BC76C5 #D1A1D8

Accessibility & contrast

On white

4.91
#A64BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A64BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64BB3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64BB3#FFFFFF#000000##FFFFFF
##A64BB31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#A85A78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64bb3;
/* rgb */ color: rgb(166, 75, 179);
/* oklch */ color: oklch(57.0% 0.177 322.5);
Tailwind
colors: {
  custom: {
    50: '#c382ca',
    500: '#a64bb3',
    950: '#000000',
  },
}
SCSS
$custom: #a64bb3;
$custom-light: #c382ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a64bb3",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 292.5,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.17712,
    "h": 322.5
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#A64BB3
secondary
#9BC495
accent
#D15766
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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