#B641D6#B641D6

#B641D6 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.230 H 318.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B641D6
RGBrgb(182, 65, 214)
HSLhsl(287, 65%, 55%)
HSVhsv(287, 70%, 84%)
CMYKcmyk(15%, 69.6%, 0%, 16.1%)
CIE-LABlab(50.19, 67.22, -54.65)
CIE-LCHlch(50.19, 86.63, 320.89°)
OKLaboklab(60.01% 0.171 -0.1534)
OKLCHoklch(60.01% 0.23 318.1)
XYZxyz(33.3176, 18.5822, 65.4370)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641D6 #61D641
analogous
#6C41D6 #B641D6 #D641AC
triadic
#B641D6 #D6B641 #41D6B6
tetradic
#B641D6 #D66C41 #61D641 #41ACD6
square
#B641D6 #D66C41 #61D641 #41ACD6
split-complementary
#B641D6 #ACD641 #41D66C
monochromatic
#6B1C81 #9527B3 #B641D6 #C973E1 #DDA6EC

Accessibility & contrast

On white

4.45
#B641D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B641D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B641D6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641D6#FFFFFF#000000##000000
##B641D61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#487BD3
Tritanopia (blue-blind)
#B55E87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b641d6;
/* rgb */ color: rgb(182, 65, 214);
/* oklch */ color: oklch(60.0% 0.230 318.1);
Tailwind
colors: {
  custom: {
    50: '#d07fe3',
    500: '#b641d6',
    950: '#000000',
  },
}
SCSS
$custom: #b641d6;
$custom-light: #d07fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b641d6",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 287.114,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.22967,
    "h": 318.1
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#B641D6
secondary
#A7D99A
accent
#E74064
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B641D6

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

Preview Lab → · Contrast checker → · Palette generator →

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