#B64CA5#B64CA5

#B64CA5 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.173 H 334.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B64CA5
RGBrgb(182, 76, 165)
HSLhsl(310, 42%, 51%)
HSVhsv(310, 58%, 71%)
CMYKcmyk(0%, 58.2%, 9.3%, 28.6%)
CIE-LABlab(49.29, 53.88, -27.65)
CIE-LCHlch(49.29, 60.56, 332.84°)
OKLaboklab(58.53% 0.1558 -0.0752)
OKLCHoklch(58.53% 0.173 334.2)
XYZxyz(28.6675, 17.8327, 37.5222)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CA5 #4CB65D
analogous
#924CB6 #B64CA5 #B64C70
triadic
#B64CA5 #A5B64C #4CA5B6
tetradic
#B64CA5 #B6924C #4CB65D #4C70B6
square
#B64CA5 #B6924C #4CB65D #4C70B6
split-complementary
#B64CA5 #70B64C #4CB692
monochromatic
#602757 #8C397F #B64CA5 #C877BB #D9A3D1

Accessibility & contrast

On white

4.60
#B64CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B64CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B64CA5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CA5#FFFFFF#000000##FFFFFF
##B64CA51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#6B7BA2
Tritanopia (blue-blind)
#BE5371
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b64ca5;
/* rgb */ color: rgb(182, 76, 165);
/* oklch */ color: oklch(58.5% 0.173 334.2);
Tailwind
colors: {
  custom: {
    50: '#cf84c0',
    500: '#b64ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b64ca5;
$custom-light: #cf84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b64ca5",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 309.623,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.173,
    "h": 334.2
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#B64CA5
secondary
#97C69F
accent
#D26A56
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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