#B641B2#B641B2

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

Color values

HEX#B641B2
RGBrgb(182, 65, 178)
HSLhsl(302, 47%, 48%)
HSVhsv(302, 64%, 71%)
CMYKcmyk(0%, 64.3%, 2.2%, 28.6%)
CIE-LABlab(48.19, 60.78, -37.02)
CIE-LCHlch(48.19, 71.16, 328.65°)
OKLaboklab(57.92% 0.171 -0.102)
OKLCHoklch(57.92% 0.199 329.2)
XYZxyz(29.2173, 16.9421, 43.8421)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641B2 #41B645
analogous
#7F41B6 #B641B2 #B64177
triadic
#B641B2 #B2B641 #41B2B6
tetradic
#B641B2 #B67F41 #41B645 #4177B6
square
#B641B2 #B67F41 #41B645 #4177B6
split-complementary
#B641B2 #77B641 #41B67F
monochromatic
#5C215A #893186 #B641B2 #CA6AC7 #DA97D8

Accessibility & contrast

On white

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

On black

4.39
#B641B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B641B2#FFFFFF#000000##FFFFFF
##B641B21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#BC4F74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b641b2;
/* rgb */ color: rgb(182, 65, 178);
/* oklch */ color: oklch(57.9% 0.199 329.2);
Tailwind
colors: {
  custom: {
    50: '#cf7ec9',
    500: '#b641b2',
    950: '#000000',
  },
}
SCSS
$custom: #b641b2;
$custom-light: #cf7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b641b2",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 302.051,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.19913,
    "h": 329.2
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#B641B2
secondary
#8DC68F
accent
#D75551
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B641B2

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

Preview Lab → · Contrast checker → · Palette generator →

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