#A64CB7#A64CB7

#A64CB7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.179 H 321.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A64CB7
RGBrgb(166, 76, 183)
HSLhsl(290, 43%, 51%)
HSVhsv(290, 58%, 72%)
CMYKcmyk(9.3%, 58.5%, 0%, 28.2%)
CIE-LABlab(47.87, 52.78, -40.59)
CIE-LCHlch(47.87, 66.58, 322.44°)
OKLaboklab(57.3% 0.1395 -0.1128)
OKLCHoklch(57.3% 0.179 321)
XYZxyz(26.8566, 16.6960, 46.5986)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CB7 #5DB74C
analogous
#704CB7 #A64CB7 #B74C92
triadic
#A64CB7 #B7A64C #4CB7A6
tetradic
#A64CB7 #B7704C #5DB74C #4C92B7
square
#A64CB7 #B7704C #5DB74C #4C92B7
split-complementary
#A64CB7 #92B74C #4CB770
monochromatic
#582761 #80398D #A64CB7 #BC78C9 #D1A3DA

Accessibility & contrast

On white

4.84
#A64CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A64CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CB7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CB7#FFFFFF#000000##FFFFFF
##A64CB71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366BBA
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#A75C7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64cb7;
/* rgb */ color: rgb(166, 76, 183);
/* oklch */ color: oklch(57.3% 0.179 321.0);
Tailwind
colors: {
  custom: {
    50: '#c383cd',
    500: '#a64cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a64cb7;
$custom-light: #c383cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cb7",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 290.467,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.17943,
    "h": 321
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#A64CB7
secondary
#9FC798
accent
#D25569
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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