#941E7C#941E7C

#941E7C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.181 H 338.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#941E7C
RGBrgb(148, 30, 124)
HSLhsl(312, 66%, 35%)
HSVhsv(312, 80%, 58%)
CMYKcmyk(0%, 79.7%, 16.2%, 42%)
CIE-LABlab(35.36, 56.49, -24.91)
CIE-LCHlch(35.36, 61.73, 336.21°)
OKLaboklab(46.68% 0.1674 -0.0677)
OKLCHoklch(46.68% 0.181 338)
XYZxyz(16.3155, 8.6813, 19.8813)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941E7C #1E9436
analogous
#711E94 #941E7C #941E41
triadic
#941E7C #7C941E #1E7C94
tetradic
#941E7C #94711E #1E9436 #1E4194
square
#941E7C #94711E #1E9436 #1E4194
split-complementary
#941E7C #41941E #1E9471
monochromatic
#2E0927 #611451 #941E7C #C728A7 #DC51BF

Accessibility & contrast

On white

7.68
#941E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#941E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941E7C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941E7C#FFFFFF#000000##FFFFFF
##941E7C1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#4D5A79
Tritanopia (blue-blind)
#9C254C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941e7c;
/* rgb */ color: rgb(148, 30, 124);
/* oklch */ color: oklch(46.7% 0.181 338.0);
Tailwind
colors: {
  custom: {
    50: '#b768a2',
    500: '#941e7c',
    950: '#000000',
  },
}
SCSS
$custom: #941e7c;
$custom-light: #b768a2;
$custom-dark: #000000;
JSON
{
  "hex": "#941e7c",
  "rgb": {
    "r": 148,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 312.203,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.18052,
    "h": 338
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#941E7C
secondary
#4FBF66
accent
#E9613F
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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