#B643B2#B643B2

#B643B2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.196 H 329.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B643B2
RGBrgb(182, 67, 178)
HSLhsl(302, 46%, 49%)
HSVhsv(302, 63%, 71%)
CMYKcmyk(0%, 63.2%, 2.2%, 28.6%)
CIE-LABlab(48.48, 59.96, -36.56)
CIE-LCHlch(48.48, 70.23, 328.63°)
OKLaboklab(58.13% 0.1687 -0.1007)
OKLCHoklch(58.13% 0.196 329.2)
XYZxyz(29.3342, 17.1758, 43.8811)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B643B2 #43B647
analogous
#8143B6 #B643B2 #B64379
triadic
#B643B2 #B2B643 #43B2B6
tetradic
#B643B2 #B68143 #43B647 #4379B6
square
#B643B2 #B68143 #43B647 #4379B6
split-complementary
#B643B2 #79B643 #43B681
monochromatic
#5D225B #893386 #B643B2 #C96DC6 #DA9AD7

Accessibility & contrast

On white

4.74
#B643B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B643B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B643B2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B643B2#FFFFFF#000000##FFFFFF
##B643B21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#BC5175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b643b2;
/* rgb */ color: rgb(182, 67, 178);
/* oklch */ color: oklch(58.1% 0.196 329.2);
Tailwind
colors: {
  custom: {
    50: '#cf7fc9',
    500: '#b643b2',
    950: '#000000',
  },
}
SCSS
$custom: #b643b2;
$custom-light: #cf7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b643b2",
  "rgb": {
    "r": 182,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 302.087,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.19646,
    "h": 329.2
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#B643B2
secondary
#8FC691
accent
#D65752
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B643B2

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

Preview Lab → · Contrast checker → · Palette generator →

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