#A64CB3#A64CB3

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

Color values

HEX#A64CB3
RGBrgb(166, 76, 179)
HSLhsl(292, 40%, 50%)
HSVhsv(292, 58%, 70%)
CMYKcmyk(7.3%, 57.5%, 0%, 29.8%)
CIE-LABlab(47.66, 52.00, -38.58)
CIE-LCHlch(47.66, 64.75, 323.43°)
OKLaboklab(57.08% 0.1392 -0.107)
OKLCHoklch(57.08% 0.176 322.4)
XYZxyz(26.4462, 16.5319, 44.4370)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CB3 #59B34C
analogous
#724CB3 #A64CB3 #B34C8D
triadic
#A64CB3 #B3A64C #4CB3A6
tetradic
#A64CB3 #B3724C #59B34C #4C8DB3
square
#A64CB3 #B3724C #59B34C #4C8DB3
split-complementary
#A64CB3 #8DB34C #4CB372
monochromatic
#56285D #7E3A88 #A64CB3 #BB77C5 #D1A2D7

Accessibility & contrast

On white

4.88
#A64CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A64CB3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CB3#FFFFFF#000000##FFFFFF
##A64CB31.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB6
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#A85B78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64cb3;
/* rgb */ color: rgb(166, 76, 179);
/* oklch */ color: oklch(57.1% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#c383ca',
    500: '#a64cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a64cb3;
$custom-light: #c383ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cb3",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 292.427,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.17561,
    "h": 322.4
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#A64CB3
secondary
#9CC496
accent
#D05867
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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