#A64FB2#A64FB2

#A64FB2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.170 H 322.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A64FB2
RGBrgb(166, 79, 178)
HSLhsl(293, 39%, 50%)
HSVhsv(293, 56%, 70%)
CMYKcmyk(6.7%, 55.6%, 0%, 30.2%)
CIE-LABlab(48.15, 50.36, -37.23)
CIE-LCHlch(48.15, 62.63, 323.52°)
OKLaboklab(57.42% 0.1352 -0.1031)
OKLCHoklch(57.42% 0.17 322.7)
XYZxyz(26.5569, 16.9146, 43.9768)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FB2 #5BB24F
analogous
#744FB2 #A64FB2 #B24F8C
triadic
#A64FB2 #B2A64F #4FB2A6
tetradic
#A64FB2 #B2744F #5BB24F #4F8CB2
square
#A64FB2 #B2744F #5BB24F #4F8CB2
split-complementary
#A64FB2 #8CB24F #4FB274
monochromatic
#57295E #7F3C88 #A64FB2 #BC7AC5 #D1A4D7

Accessibility & contrast

On white

4.79
#A64FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A64FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FB2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FB2#FFFFFF#000000##FFFFFF
##A64FB21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#A85D79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64fb2;
/* rgb */ color: rgb(166, 79, 178);
/* oklch */ color: oklch(57.4% 0.170 322.7);
Tailwind
colors: {
  custom: {
    50: '#c385c9',
    500: '#a64fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a64fb2;
$custom-light: #c385c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fb2",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 292.727,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.17001,
    "h": 322.7
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#A64FB2
secondary
#9EC498
accent
#CF5967
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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