#941D87#941D87

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

Color values

HEX#941D87
RGBrgb(148, 29, 135)
HSLhsl(307, 67%, 35%)
HSVhsv(307, 80%, 58%)
CMYKcmyk(0%, 80.4%, 8.8%, 42%)
CIE-LABlab(35.84, 58.40, -31.00)
CIE-LCHlch(35.84, 66.12, 332.04°)
OKLaboklab(47.21% 0.1689 -0.0852)
OKLCHoklch(47.21% 0.189 333.2)
XYZxyz(17.0254, 8.9254, 23.7431)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941D87 #1D942A
analogous
#661D94 #941D87 #941D4B
triadic
#941D87 #87941D #1D8794
tetradic
#941D87 #94661D #1D942A #1D4B94
square
#941D87 #94661D #1D942A #1D4B94
split-complementary
#941D87 #4B941D #1D9466
monochromatic
#2E092A #611358 #941D87 #C727B6 #DC4FCD

Accessibility & contrast

On white

7.54
#941D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941D87
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941D87#FFFFFF#000000##FFFFFF
##941D871.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8A
Deuteranopia (green-blind)
#485A84
Tritanopia (blue-blind)
#9B2B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941d87;
/* rgb */ color: rgb(148, 29, 135);
/* oklch */ color: oklch(47.2% 0.189 333.2);
Tailwind
colors: {
  custom: {
    50: '#b769aa',
    500: '#941d87',
    950: '#000000',
  },
}
SCSS
$custom: #941d87;
$custom-light: #b769aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941d87",
  "rgb": {
    "r": 148,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 306.555,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47208,
    "c": 0.18917,
    "h": 333.2
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#941D87
secondary
#4EBF5A
accent
#EA513E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941D87

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

Preview Lab → · Contrast checker → · Palette generator →

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