#B646B8#B646B8

#B646B8 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.8% C 0.197 H 327.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B646B8
RGBrgb(182, 70, 184)
HSLhsl(299, 45%, 50%)
HSVhsv(299, 62%, 72%)
CMYKcmyk(1.1%, 62%, 0%, 27.8%)
CIE-LABlab(49.24, 59.74, -38.87)
CIE-LCHlch(49.24, 71.27, 326.95°)
OKLaboklab(58.78% 0.1656 -0.1074)
OKLCHoklch(58.78% 0.197 327)
XYZxyz(30.1328, 17.7880, 47.1844)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B646B8 #48B846
analogous
#7D46B8 #B646B8 #B84681
triadic
#B646B8 #B8B646 #46B8B6
tetradic
#B646B8 #B87D46 #48B846 #4681B8
square
#B646B8 #B87D46 #48B846 #4681B8
split-complementary
#B646B8 #81B846 #46B87D
monochromatic
#5E245F #8A358C #B646B8 #C872C9 #D99EDA

Accessibility & contrast

On white

4.61
#B646B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B646B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B646B8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B646B8#FFFFFF#000000##FFFFFF
##B646B81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#BB5579
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b646b8;
/* rgb */ color: rgb(182, 70, 184);
/* oklch */ color: oklch(58.8% 0.197 327.0);
Tailwind
colors: {
  custom: {
    50: '#cf81ce',
    500: '#b646b8',
    950: '#000000',
  },
}
SCSS
$custom: #b646b8;
$custom-light: #cf81ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b646b8",
  "rgb": {
    "r": 182,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 298.947,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58781,
    "c": 0.19735,
    "h": 327
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#B646B8
secondary
#94C793
accent
#D55355
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B646B8

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

Preview Lab → · Contrast checker → · Palette generator →

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