#B64CB9#B64CB9

#B64CB9 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.190 H 326.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B64CB9
RGBrgb(182, 76, 185)
HSLhsl(298, 44%, 51%)
HSVhsv(298, 59%, 73%)
CMYKcmyk(1.6%, 58.9%, 0%, 27.5%)
CIE-LABlab(50.24, 57.30, -37.87)
CIE-LCHlch(50.24, 68.68, 326.54°)
OKLaboklab(59.52% 0.1583 -0.1046)
OKLCHoklch(59.52% 0.19 326.5)
XYZxyz(30.6322, 18.6186, 47.8698)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CB9 #4FB94C
analogous
#7F4CB9 #B64CB9 #B94C85
triadic
#B64CB9 #B9B64C #4CB9B6
tetradic
#B64CB9 #B97F4C #4FB94C #4C85B9
square
#B64CB9 #B97F4C #4FB94C #4C85B9
split-complementary
#B64CB9 #85B94C #4CB97F
monochromatic
#622764 #8D3890 #B64CB9 #C878CA #DAA4DB

Accessibility & contrast

On white

4.45
#B64CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B64CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64CB9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CB9#FFFFFF#000000##000000
##B64CB91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#627CB6
Tritanopia (blue-blind)
#BB5A7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b64cb9;
/* rgb */ color: rgb(182, 76, 185);
/* oklch */ color: oklch(59.5% 0.190 326.5);
Tailwind
colors: {
  custom: {
    50: '#cf84ce',
    500: '#b64cb9',
    950: '#000000',
  },
}
SCSS
$custom: #b64cb9;
$custom-light: #cf84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b64cb9",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 298.349,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.18972,
    "h": 326.5
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#B64CB9
secondary
#9AC898
accent
#D45458
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B64CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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