#941B8C#941B8C

#941B8C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.195 H 331.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#941B8C
RGBrgb(148, 27, 140)
HSLhsl(304, 69%, 34%)
HSVhsv(304, 82%, 58%)
CMYKcmyk(0%, 81.8%, 5.4%, 42%)
CIE-LABlab(35.94, 59.71, -33.94)
CIE-LCHlch(35.94, 68.68, 330.39°)
OKLaboklab(47.37% 0.1705 -0.0936)
OKLCHoklch(47.37% 0.195 331.2)
XYZxyz(17.3383, 8.9747, 25.6250)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B8C #1B9423
analogous
#601B94 #941B8C #941B50
triadic
#941B8C #8C941B #1B8C94
tetradic
#941B8C #94601B #1B9423 #1B5094
square
#941B8C #94601B #1B9423 #1B5094
split-complementary
#941B8C #50941B #1B9460
monochromatic
#2C082A #60125B #941B8C #C824BD #DE4BD4

Accessibility & contrast

On white

7.51
#941B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941B8C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B8C#FFFFFF#000000##FFFFFF
##941B8C1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8F
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#9A2C54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941b8c;
/* rgb */ color: rgb(148, 27, 140);
/* oklch */ color: oklch(47.4% 0.195 331.2);
Tailwind
colors: {
  custom: {
    50: '#b768ae',
    500: '#941b8c',
    950: '#000000',
  },
}
SCSS
$custom: #941b8c;
$custom-light: #b768ae;
$custom-dark: #000000;
JSON
{
  "hex": "#941b8c",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 303.967,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.19454,
    "h": 331.2
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#941B8C
secondary
#4BC052
accent
#EC473C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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