#A64DCB#A64DCB

#A64DCB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.198 H 314.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A64DCB
RGBrgb(166, 77, 203)
HSLhsl(282, 55%, 55%)
HSVhsv(282, 62%, 80%)
CMYKcmyk(18.2%, 62.1%, 0%, 20.4%)
CIE-LABlab(49.16, 56.34, -50.12)
CIE-LCHlch(49.16, 75.41, 318.34°)
OKLaboklab(58.6% 0.1388 -0.1407)
OKLCHoklch(58.6% 0.198 314.6)
XYZxyz(29.1575, 17.7275, 58.3741)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DCB #72CB4D
analogous
#674DCB #A64DCB #CB4DB1
triadic
#A64DCB #CBA64D #4DCBA6
tetradic
#A64DCB #CB674D #72CB4D #4DB1CB
square
#A64DCB #CB674D #72CB4D #4DB1CB
split-complementary
#A64DCB #B1CB4D #4DCB67
monochromatic
#61247A #8631A9 #A64DCB #BE7CD9 #D5ACE7

Accessibility & contrast

On white

4.62
#A64DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A64DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DCB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DCB#FFFFFF#000000##FFFFFF
##A64DCB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70CF
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#A36485
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a64dcb;
/* rgb */ color: rgb(166, 77, 203);
/* oklch */ color: oklch(58.6% 0.198 314.6);
Tailwind
colors: {
  custom: {
    50: '#c484db',
    500: '#a64dcb',
    950: '#000000',
  },
}
SCSS
$custom: #a64dcb;
$custom-light: #c484db;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dcb",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 282.381,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.1976,
    "h": 314.6
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#A64DCB
secondary
#AFD49F
accent
#DE4A75
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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