#941A8B#941A8B

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

Color values

HEX#941A8B
RGBrgb(148, 26, 139)
HSLhsl(304, 70%, 34%)
HSVhsv(304, 82%, 58%)
CMYKcmyk(0%, 82.4%, 6.1%, 42%)
CIE-LABlab(35.79, 59.81, -33.55)
CIE-LCHlch(35.79, 68.57, 330.71°)
OKLaboklab(47.25% 0.1713 -0.0925)
OKLCHoklch(47.25% 0.195 331.6)
XYZxyz(17.2424, 8.9002, 25.2309)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A8B #1A9423
analogous
#601A94 #941A8B #941A4E
triadic
#941A8B #8B941A #1A8B94
tetradic
#941A8B #94601A #1A9423 #1A4E94
square
#941A8B #94601A #1A9423 #1A4E94
split-complementary
#941A8B #4E941A #1A9460
monochromatic
#2C0829 #60115A #941A8B #C823BC #DF49D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##941A8B#FFFFFF#000000##FFFFFF
##941A8B1.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)
#0A4A8E
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#9A2B53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941a8b;
/* rgb */ color: rgb(148, 26, 139);
/* oklch */ color: oklch(47.2% 0.195 331.6);
Tailwind
colors: {
  custom: {
    50: '#b768ad',
    500: '#941a8b',
    950: '#000000',
  },
}
SCSS
$custom: #941a8b;
$custom-light: #b768ad;
$custom-dark: #000000;
JSON
{
  "hex": "#941a8b",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 304.426,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.19464,
    "h": 331.6
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#941A8B
secondary
#49C152
accent
#ED483B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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