#B643A7#B643A7

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

Color values

HEX#B643A7
RGBrgb(182, 67, 167)
HSLhsl(308, 46%, 49%)
HSVhsv(308, 63%, 71%)
CMYKcmyk(0%, 63.2%, 8.2%, 28.6%)
CIE-LABlab(47.95, 58.15, -30.93)
CIE-LCHlch(47.95, 65.86, 331.99°)
OKLaboklab(57.57% 0.1676 -0.0845)
OKLCHoklch(57.57% 0.188 333.2)
XYZxyz(28.2737, 16.7516, 38.2960)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B643A7 #43B652
analogous
#8C43B6 #B643A7 #B6436E
triadic
#B643A7 #A7B643 #43A7B6
tetradic
#B643A7 #B68C43 #43B652 #436EB6
square
#B643A7 #B68C43 #43B652 #436EB6
split-complementary
#B643A7 #6EB643 #43B68C
monochromatic
#5D2255 #89337E #B643A7 #C96DBD #DA9AD1

Accessibility & contrast

On white

4.83
#B643A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B643A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B643A7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B643A7#FFFFFF#000000##FFFFFF
##B643A71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067AA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#BE4C6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b643a7;
/* rgb */ color: rgb(182, 67, 167);
/* oklch */ color: oklch(57.6% 0.188 333.2);
Tailwind
colors: {
  custom: {
    50: '#cf7fc1',
    500: '#b643a7',
    950: '#000000',
  },
}
SCSS
$custom: #b643a7;
$custom-light: #cf7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b643a7",
  "rgb": {
    "r": 182,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 307.826,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.18768,
    "h": 333.2
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B643A7

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

Preview Lab → · Contrast checker → · Palette generator →

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