#B643B5#B643B5

#B643B5 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.199 H 328.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B643B5
RGBrgb(182, 67, 181)
HSLhsl(301, 46%, 49%)
HSVhsv(301, 63%, 71%)
CMYKcmyk(0%, 63.2%, 0.5%, 28.6%)
CIE-LABlab(48.63, 60.47, -38.07)
CIE-LCHlch(48.63, 71.46, 327.81°)
OKLaboklab(58.29% 0.1689 -0.1051)
OKLCHoklch(58.29% 0.199 328.1)
XYZxyz(29.6387, 17.2976, 45.4848)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B643B5 #43B644
analogous
#7E43B6 #B643B5 #B6437C
triadic
#B643B5 #B5B643 #43B5B6
tetradic
#B643B5 #B67E43 #43B644 #437CB6
square
#B643B5 #B67E43 #43B644 #437CB6
split-complementary
#B643B5 #7CB643 #43B67E
monochromatic
#5D225C #893389 #B643B5 #C96DC8 #DA9AD9

Accessibility & contrast

On white

4.71
#B643B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B643B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B643B5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B643B5#FFFFFF#000000##FFFFFF
##B643B51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#BC5276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b643b5;
/* rgb */ color: rgb(182, 67, 181);
/* oklch */ color: oklch(58.3% 0.199 328.1);
Tailwind
colors: {
  custom: {
    50: '#cf7fcb',
    500: '#b643b5',
    950: '#000000',
  },
}
SCSS
$custom: #b643b5;
$custom-light: #cf7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#b643b5",
  "rgb": {
    "r": 182,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 300.522,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.19892,
    "h": 328.1
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#B643B5
secondary
#8FC690
accent
#D65352
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B643B5

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

Preview Lab → · Contrast checker → · Palette generator →

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