#B941DB#B941DB

#B941DB is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.235 H 317.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B941DB
RGBrgb(185, 65, 219)
HSLhsl(287, 68%, 56%)
HSVhsv(287, 70%, 86%)
CMYKcmyk(15.5%, 70.3%, 0%, 14.1%)
CIE-LABlab(50.93, 68.79, -56.29)
CIE-LCHlch(50.93, 88.89, 320.71°)
OKLaboklab(60.72% 0.1741 -0.1581)
OKLCHoklch(60.72% 0.235 317.8)
XYZxyz(34.6822, 19.2109, 68.8853)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B941DB #63DB41
analogous
#6C41DB #B941DB #DB41B0
triadic
#B941DB #DBB941 #41DBB9
tetradic
#B941DB #DB6C41 #63DB41 #41B0DB
square
#B941DB #DB6C41 #63DB41 #41B0DB
split-complementary
#B941DB #B0DB41 #41DB6C
monochromatic
#701A88 #9A23BB #B941DB #CC74E5 #DFA8EE

Accessibility & contrast

On white

4.34
#B941DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B941DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B941DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B941DB#FFFFFF#000000##000000
##B941DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#477DD7
Tritanopia (blue-blind)
#B8608A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b941db;
/* rgb */ color: rgb(185, 65, 219);
/* oklch */ color: oklch(60.7% 0.235 317.8);
Tailwind
colors: {
  custom: {
    50: '#d280e7',
    500: '#b941db',
    950: '#000000',
  },
}
SCSS
$custom: #b941db;
$custom-light: #d280e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b941db",
  "rgb": {
    "r": 185,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 286.753,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.23519,
    "h": 317.8
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#B941DB
secondary
#AADC9C
accent
#EB3D63
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B941DB

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

Preview Lab → · Contrast checker → · Palette generator →

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