#B941DC#B941DC

#B941DC is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.236 H 317.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B941DC
RGBrgb(185, 65, 220)
HSLhsl(286, 69%, 56%)
HSVhsv(286, 70%, 86%)
CMYKcmyk(15.9%, 70.5%, 0%, 13.7%)
CIE-LABlab(50.99, 68.98, -56.76)
CIE-LCHlch(50.99, 89.33, 320.55°)
OKLaboklab(60.79% 0.1741 -0.1595)
OKLCHoklch(60.79% 0.236 317.5)
XYZxyz(34.8143, 19.2637, 69.5807)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B941DC #64DC41
analogous
#6B41DC #B941DC #DC41B1
triadic
#B941DC #DCB941 #41DCB9
tetradic
#B941DC #DC6B41 #64DC41 #41B1DC
square
#B941DC #DC6B41 #64DC41 #41B1DC
split-complementary
#B941DC #B1DC41 #41DC6B
monochromatic
#701989 #9A23BD #B941DC #CC75E6 #DFA8EF

Accessibility & contrast

On white

4.33
#B941DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B941DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B941DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B941DC#FFFFFF#000000##000000
##B941DC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#B8608B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b941dc;
/* rgb */ color: rgb(185, 65, 220);
/* oklch */ color: oklch(60.8% 0.236 317.5);
Tailwind
colors: {
  custom: {
    50: '#d280e8',
    500: '#b941dc',
    950: '#000000',
  },
}
SCSS
$custom: #b941dc;
$custom-light: #d280e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b941dc",
  "rgb": {
    "r": 185,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 286.452,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.23606,
    "h": 317.5
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#B941DC
secondary
#ABDD9C
accent
#EC3C64
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B941DC

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

Preview Lab → · Contrast checker → · Palette generator →

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