#B64CBA#B64CBA

#B64CBA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.191 H 326.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B64CBA
RGBrgb(182, 76, 186)
HSLhsl(298, 44%, 51%)
HSVhsv(298, 59%, 73%)
CMYKcmyk(2.2%, 59.1%, 0%, 27.1%)
CIE-LABlab(50.29, 57.48, -38.38)
CIE-LCHlch(50.29, 69.11, 326.27°)
OKLaboklab(59.58% 0.1584 -0.106)
OKLCHoklch(59.58% 0.191 326.2)
XYZxyz(30.7382, 18.6610, 48.4277)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CBA #50BA4C
analogous
#7F4CBA #B64CBA #BA4C87
triadic
#B64CBA #BAB64C #4CBAB6
tetradic
#B64CBA #BA7F4C #50BA4C #4C87BA
square
#B64CBA #BA7F4C #50BA4C #4C87BA
split-complementary
#B64CBA #87BA4C #4CBA7F
monochromatic
#632765 #8E3891 #B64CBA #C878CB #DAA4DC

Accessibility & contrast

On white

4.44
#B64CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B64CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64CBA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CBA#FFFFFF#000000##000000
##B64CBA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#627CB7
Tritanopia (blue-blind)
#BB5A7C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b64cba;
/* rgb */ color: rgb(182, 76, 186);
/* oklch */ color: oklch(59.6% 0.191 326.2);
Tailwind
colors: {
  custom: {
    50: '#cf84cf',
    500: '#b64cba',
    950: '#000000',
  },
}
SCSS
$custom: #b64cba;
$custom-light: #cf84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b64cba",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 297.818,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.1906,
    "h": 326.2
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B64CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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