#B64CB7#B64CB7

#B64CB7 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.4% C 0.188 H 327.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B64CB7
RGBrgb(182, 76, 183)
HSLhsl(299, 43%, 51%)
HSVhsv(299, 58%, 72%)
CMYKcmyk(0.5%, 58.5%, 0%, 28.2%)
CIE-LABlab(50.14, 56.94, -36.87)
CIE-LCHlch(50.14, 67.84, 327.08°)
OKLaboklab(59.42% 0.1581 -0.1017)
OKLCHoklch(59.42% 0.188 327.3)
XYZxyz(30.4226, 18.5347, 46.7657)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CB7 #4DB74C
analogous
#804CB7 #B64CB7 #B74C82
triadic
#B64CB7 #B7B64C #4CB7B6
tetradic
#B64CB7 #B7804C #4DB74C #4C82B7
square
#B64CB7 #B7804C #4DB74C #4C82B7
split-complementary
#B64CB7 #82B74C #4CB780
monochromatic
#612761 #8C398D #B64CB7 #C878C9 #DAA3DA

Accessibility & contrast

On white

4.46
#B64CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B64CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64CB7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CB7#FFFFFF#000000##000000
##B64CB71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#BB597A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b64cb7;
/* rgb */ color: rgb(182, 76, 183);
/* oklch */ color: oklch(59.4% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#cf84cd',
    500: '#b64cb7',
    950: '#000000',
  },
}
SCSS
$custom: #b64cb7;
$custom-light: #cf84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b64cb7",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 299.439,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.18799,
    "h": 327.3
  },
  "luminance": 0.18533
}

Semantic roles & 50–950 ramp

primary
#B64CB7
secondary
#98C798
accent
#D25557
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B64CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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