#941D8B#941D8B

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

Color values

HEX#941D8B
RGBrgb(148, 29, 139)
HSLhsl(305, 67%, 35%)
HSVhsv(305, 80%, 58%)
CMYKcmyk(0%, 80.4%, 6.1%, 42%)
CIE-LABlab(36.06, 59.02, -33.12)
CIE-LCHlch(36.06, 67.68, 330.70°)
OKLaboklab(47.44% 0.169 -0.0913)
OKLCHoklch(47.44% 0.192 331.6)
XYZxyz(17.3123, 9.0402, 25.2542)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941D8B #1D9426
analogous
#621D94 #941D8B #941D4F
triadic
#941D8B #8B941D #1D8B94
tetradic
#941D8B #94621D #1D9426 #1D4F94
square
#941D8B #94621D #1D9426 #1D4F94
split-complementary
#941D8B #4F941D #1D9462
monochromatic
#2E092B #61135B #941D8B #C727BB #DC4FD2

Accessibility & contrast

On white

7.48
#941D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#941D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941D8B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941D8B#FFFFFF#000000##FFFFFF
##941D8B1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8E
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#9A2D54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #941d8b;
/* rgb */ color: rgb(148, 29, 139);
/* oklch */ color: oklch(47.4% 0.192 331.6);
Tailwind
colors: {
  custom: {
    50: '#b769ad',
    500: '#941d8b',
    950: '#000000',
  },
}
SCSS
$custom: #941d8b;
$custom-light: #b769ad;
$custom-dark: #000000;
JSON
{
  "hex": "#941d8b",
  "rgb": {
    "r": 148,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 304.538,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47437,
    "c": 0.19208,
    "h": 331.6
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#941D8B
secondary
#4EBF56
accent
#EA4B3E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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