#941C87#941C87

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

Color values

HEX#941C87
RGBrgb(148, 28, 135)
HSLhsl(307, 68%, 35%)
HSVhsv(307, 81%, 58%)
CMYKcmyk(0%, 81.1%, 8.8%, 42%)
CIE-LABlab(35.75, 58.67, -31.15)
CIE-LCHlch(35.75, 66.43, 332.04°)
OKLaboklab(47.14% 0.1697 -0.0856)
OKLCHoklch(47.14% 0.19 333.2)
XYZxyz(17.0013, 8.8772, 23.7350)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941C87 #1C9429
analogous
#651C94 #941C87 #941C4B
triadic
#941C87 #87941C #1C8794
tetradic
#941C87 #94651C #1C9429 #1C4B94
square
#941C87 #94651C #1C9429 #1C4B94
split-complementary
#941C87 #4B941C #1C9465
monochromatic
#2D0929 #611258 #941C87 #C726B6 #DD4DCE

Accessibility & contrast

On white

7.57
#941C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941C87
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941C87#FFFFFF#000000##FFFFFF
##941C871.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#9B2A51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941c87;
/* rgb */ color: rgb(148, 28, 135);
/* oklch */ color: oklch(47.1% 0.190 333.2);
Tailwind
colors: {
  custom: {
    50: '#b768aa',
    500: '#941c87',
    950: '#000000',
  },
}
SCSS
$custom: #941c87;
$custom-light: #b768aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941c87",
  "rgb": {
    "r": 148,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 306.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.19006,
    "h": 333.2
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#941C87
secondary
#4CC059
accent
#EB503D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941C87

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

Preview Lab → · Contrast checker → · Palette generator →

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