#941B8B#941B8B

#941B8B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.194 H 331.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#941B8B
RGBrgb(148, 27, 139)
HSLhsl(304, 69%, 34%)
HSVhsv(304, 82%, 58%)
CMYKcmyk(0%, 81.8%, 6.1%, 42%)
CIE-LABlab(35.88, 59.55, -33.41)
CIE-LCHlch(35.88, 68.28, 330.71°)
OKLaboklab(47.31% 0.1705 -0.0921)
OKLCHoklch(47.31% 0.194 331.6)
XYZxyz(17.2649, 8.9453, 25.2384)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B8B #1B9424
analogous
#611B94 #941B8B #941B4F
triadic
#941B8B #8B941B #1B8B94
tetradic
#941B8B #94611B #1B9424 #1B4F94
square
#941B8B #94611B #1B9424 #1B4F94
split-complementary
#941B8B #4F941B #1B9461
monochromatic
#2C082A #60125A #941B8B #C824BC #DE4BD3

Accessibility & contrast

On white

7.53
#941B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#941B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B8B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B8B#FFFFFF#000000##FFFFFF
##941B8B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8E
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#9A2C53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941b8b;
/* rgb */ color: rgb(148, 27, 139);
/* oklch */ color: oklch(47.3% 0.194 331.6);
Tailwind
colors: {
  custom: {
    50: '#b768ad',
    500: '#941b8b',
    950: '#000000',
  },
}
SCSS
$custom: #941b8b;
$custom-light: #b768ad;
$custom-dark: #000000;
JSON
{
  "hex": "#941b8b",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 304.463,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.19381,
    "h": 331.6
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#941B8B
secondary
#4BC053
accent
#EC493C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941B8B

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

Preview Lab → · Contrast checker → · Palette generator →

#941B8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva