#941B8A#941B8A

#941B8A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.193 H 332.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#941B8A
RGBrgb(148, 27, 138)
HSLhsl(305, 69%, 34%)
HSVhsv(305, 82%, 58%)
CMYKcmyk(0%, 81.8%, 6.8%, 42%)
CIE-LABlab(35.82, 59.40, -32.88)
CIE-LCHlch(35.82, 67.89, 331.03°)
OKLaboklab(47.25% 0.1705 -0.0906)
OKLCHoklch(47.25% 0.193 332)
XYZxyz(17.1922, 8.9162, 24.8554)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B8A #1B9425
analogous
#621B94 #941B8A #941B4D
triadic
#941B8A #8A941B #1B8A94
tetradic
#941B8A #94621B #1B9425 #1B4D94
square
#941B8A #94621B #1B9425 #1B4D94
split-complementary
#941B8A #4D941B #1B9462
monochromatic
#2C0829 #60125A #941B8A #C824BA #DE4BD2

Accessibility & contrast

On white

7.55
#941B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#941B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B8A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B8A#FFFFFF#000000##FFFFFF
##941B8A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#9B2B53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941b8a;
/* rgb */ color: rgb(148, 27, 138);
/* oklch */ color: oklch(47.2% 0.193 332.0);
Tailwind
colors: {
  custom: {
    50: '#b768ac',
    500: '#941b8a',
    950: '#000000',
  },
}
SCSS
$custom: #941b8a;
$custom-light: #b768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#941b8a",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 304.959,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47249,
    "c": 0.19309,
    "h": 332
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#941B8A
secondary
#4BC054
accent
#EC4A3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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