#A64BB6#A64BB6

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

Color values

HEX#A64BB6
RGBrgb(166, 75, 182)
HSLhsl(291, 42%, 50%)
HSVhsv(291, 59%, 71%)
CMYKcmyk(8.8%, 58.8%, 0%, 28.6%)
CIE-LABlab(47.65, 53.06, -40.37)
CIE-LCHlch(47.65, 66.67, 322.74°)
OKLaboklab(57.12% 0.1407 -0.1122)
OKLCHoklch(57.12% 0.18 321.4)
XYZxyz(26.6845, 16.5178, 46.0296)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BB6 #5BB64B
analogous
#704BB6 #A64BB6 #B64B90
triadic
#A64BB6 #B6A64B #4BB6A6
tetradic
#A64BB6 #B6704B #5BB64B #4B90B6
square
#A64BB6 #B6704B #5BB64B #4B90B6
split-complementary
#A64BB6 #90B64B #4BB670
monochromatic
#572760 #7F388B #A64BB6 #BC77C8 #D1A2D9

Accessibility & contrast

On white

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

On black

4.30
#A64BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A64BB6#FFFFFF#000000##FFFFFF
##A64BB61.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB9
Deuteranopia (green-blind)
#5675B3
Tritanopia (blue-blind)
#A85B79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64bb6;
/* rgb */ color: rgb(166, 75, 182);
/* oklch */ color: oklch(57.1% 0.180 321.4);
Tailwind
colors: {
  custom: {
    50: '#c382cc',
    500: '#a64bb6',
    950: '#000000',
  },
}
SCSS
$custom: #a64bb6;
$custom-light: #c382cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a64bb6",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 291.028,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.17997,
    "h": 321.4
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#A64BB6
secondary
#9EC697
accent
#D25668
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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