#B643AB#B643AB

#B643AB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.191 H 331.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B643AB
RGBrgb(182, 67, 171)
HSLhsl(306, 46%, 49%)
HSVhsv(306, 63%, 71%)
CMYKcmyk(0%, 63.2%, 6%, 28.6%)
CIE-LABlab(48.14, 58.80, -32.99)
CIE-LCHlch(48.14, 67.42, 330.71°)
OKLaboklab(57.77% 0.168 -0.0904)
OKLCHoklch(57.77% 0.191 331.7)
XYZxyz(28.6492, 16.9018, 40.2736)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B643AB #43B64E
analogous
#8843B6 #B643AB #B64372
triadic
#B643AB #ABB643 #43ABB6
tetradic
#B643AB #B68843 #43B64E #4372B6
square
#B643AB #B68843 #43B64E #4372B6
split-complementary
#B643AB #72B643 #43B688
monochromatic
#5D2257 #893381 #B643AB #C96DC0 #DA9AD4

Accessibility & contrast

On white

4.79
#B643AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B643AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B643AB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B643AB#FFFFFF#000000##FFFFFF
##B643AB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#BD4E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b643ab;
/* rgb */ color: rgb(182, 67, 171);
/* oklch */ color: oklch(57.8% 0.191 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf7fc4',
    500: '#b643ab',
    950: '#000000',
  },
}
SCSS
$custom: #b643ab;
$custom-light: #cf7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b643ab",
  "rgb": {
    "r": 182,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 305.739,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.19082,
    "h": 331.7
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#B643AB
secondary
#8FC694
accent
#D65F52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B643AB

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

Preview Lab → · Contrast checker → · Palette generator →

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