#B64AAA#B64AAA

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

Color values

HEX#B64AAA
RGBrgb(182, 74, 170)
HSLhsl(307, 43%, 50%)
HSVhsv(307, 59%, 71%)
CMYKcmyk(0%, 59.3%, 6.6%, 28.6%)
CIE-LABlab(49.19, 55.61, -30.75)
CIE-LCHlch(49.19, 63.55, 331.06°)
OKLaboklab(58.52% 0.1592 -0.0841)
OKLCHoklch(58.52% 0.18 332.2)
XYZxyz(28.9958, 17.7470, 39.9207)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64AAA #4AB656
analogous
#8C4AB6 #B64AAA #B64A74
triadic
#B64AAA #AAB64A #4AAAB6
tetradic
#B64AAA #B68C4A #4AB656 #4A74B6
square
#B64AAA #B68C4A #4AB656 #4A74B6
split-complementary
#B64AAA #74B64A #4AB68C
monochromatic
#5F2659 #8B3882 #B64AAA #C876BE #D9A1D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B64AAA#FFFFFF#000000##FFFFFF
##B64AAA1.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)
#466BAD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#BD5373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b64aaa;
/* rgb */ color: rgb(182, 74, 170);
/* oklch */ color: oklch(58.5% 0.180 332.2);
Tailwind
colors: {
  custom: {
    50: '#cf83c3',
    500: '#b64aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b64aaa;
$custom-light: #cf83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b64aaa",
  "rgb": {
    "r": 182,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 306.667,
    "s": 42.52,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.18001,
    "h": 332.2
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#B64AAA
secondary
#96C69B
accent
#D26355
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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