#941E87#941E87

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

Color values

HEX#941E87
RGBrgb(148, 30, 135)
HSLhsl(307, 66%, 35%)
HSVhsv(307, 80%, 58%)
CMYKcmyk(0%, 79.7%, 8.8%, 42%)
CIE-LABlab(35.94, 58.13, -30.85)
CIE-LCHlch(35.94, 65.81, 332.04°)
OKLaboklab(47.28% 0.1681 -0.0847)
OKLCHoklch(47.28% 0.188 333.2)
XYZxyz(17.0503, 8.9752, 23.7514)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941E87 #1E942B
analogous
#661E94 #941E87 #941E4C
triadic
#941E87 #87941E #1E8794
tetradic
#941E87 #94661E #1E942B #1E4C94
square
#941E87 #94661E #1E942B #1E4C94
split-complementary
#941E87 #4C941E #1E9466
monochromatic
#2E092A #611459 #941E87 #C728B5 #DC51CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##941E87#FFFFFF#000000##FFFFFF
##941E871.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)
#184A8A
Deuteranopia (green-blind)
#485A84
Tritanopia (blue-blind)
#9B2B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941e87;
/* rgb */ color: rgb(148, 30, 135);
/* oklch */ color: oklch(47.3% 0.188 333.2);
Tailwind
colors: {
  custom: {
    50: '#b769aa',
    500: '#941e87',
    950: '#000000',
  },
}
SCSS
$custom: #941e87;
$custom-light: #b769aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941e87",
  "rgb": {
    "r": 148,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 306.61,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47277,
    "c": 0.18824,
    "h": 333.2
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#941E87
secondary
#4FBF5B
accent
#E9513F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941E87

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

Preview Lab → · Contrast checker → · Palette generator →

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