#B64CA6#B64CA6

#B64CA6 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.174 H 333.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B64CA6
RGBrgb(182, 76, 166)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 58%, 71%)
CMYKcmyk(0%, 58.2%, 8.8%, 28.6%)
CIE-LABlab(49.34, 54.05, -28.17)
CIE-LCHlch(49.34, 60.94, 332.47°)
OKLaboklab(58.57% 0.156 -0.0767)
OKLCHoklch(58.57% 0.174 333.8)
XYZxyz(28.7589, 17.8693, 38.0034)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CA6 #4CB65C
analogous
#914CB6 #B64CA6 #B64C71
triadic
#B64CA6 #A6B64C #4CA6B6
tetradic
#B64CA6 #B6914C #4CB65C #4C71B6
square
#B64CA6 #B6914C #4CB65C #4C71B6
split-complementary
#B64CA6 #71B64C #4CB691
monochromatic
#602758 #8C397F #B64CA6 #C877BC #D9A3D1

Accessibility & contrast

On white

4.59
#B64CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B64CA6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CA6#FFFFFF#000000##FFFFFF
##B64CA61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#BE5372
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b64ca6;
/* rgb */ color: rgb(182, 76, 166);
/* oklch */ color: oklch(58.6% 0.174 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf84c0',
    500: '#b64ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b64ca6;
$custom-light: #cf84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b64ca6",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 309.057,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.1738,
    "h": 333.8
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#B64CA6
secondary
#97C69E
accent
#D26956
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B64CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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