#B643A8#B643A8

#B643A8 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.188 H 332.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B643A8
RGBrgb(182, 67, 168)
HSLhsl(307, 46%, 49%)
HSVhsv(307, 63%, 71%)
CMYKcmyk(0%, 63.2%, 7.7%, 28.6%)
CIE-LABlab(47.99, 58.31, -31.44)
CIE-LCHlch(47.99, 66.24, 331.66°)
OKLaboklab(57.62% 0.1677 -0.086)
OKLCHoklch(57.62% 0.188 332.8)
XYZxyz(28.3665, 16.7887, 38.7847)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B643A8 #43B651
analogous
#8B43B6 #B643A8 #B6436F
triadic
#B643A8 #A8B643 #43A8B6
tetradic
#B643A8 #B68B43 #43B651 #436FB6
square
#B643A8 #B68B43 #43B651 #436FB6
split-complementary
#B643A8 #6FB643 #43B68B
monochromatic
#5D2255 #89337F #B643A8 #C96DBE #DA9AD2

Accessibility & contrast

On white

4.82
#B643A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B643A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B643A8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B643A8#FFFFFF#000000##FFFFFF
##B643A81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AB
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#BE4D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b643a8;
/* rgb */ color: rgb(182, 67, 168);
/* oklch */ color: oklch(57.6% 0.188 332.8);
Tailwind
colors: {
  custom: {
    50: '#cf7fc2',
    500: '#b643a8',
    950: '#000000',
  },
}
SCSS
$custom: #b643a8;
$custom-light: #cf7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b643a8",
  "rgb": {
    "r": 182,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 307.304,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.18846,
    "h": 332.8
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#B643A8
secondary
#8FC696
accent
#D66252
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B643A8

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

Preview Lab → · Contrast checker → · Palette generator →

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