#941D7E#941D7E

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

Color values

HEX#941D7E
RGBrgb(148, 29, 126)
HSLhsl(311, 67%, 35%)
HSVhsv(311, 80%, 58%)
CMYKcmyk(0%, 80.4%, 14.9%, 42%)
CIE-LABlab(35.37, 57.06, -26.15)
CIE-LCHlch(35.37, 62.77, 335.38°)
OKLaboklab(46.71% 0.1684 -0.0712)
OKLCHoklch(46.71% 0.183 337.1)
XYZxyz(16.4183, 8.6826, 20.5458)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941D7E #1D9433
analogous
#6E1D94 #941D7E #941D43
triadic
#941D7E #7E941D #1D7E94
tetradic
#941D7E #946E1D #1D9433 #1D4394
square
#941D7E #946E1D #1D9433 #1D4394
split-complementary
#941D7E #43941D #1D946E
monochromatic
#2E0927 #611352 #941D7E #C727AA #DC4FC2

Accessibility & contrast

On white

7.67
#941D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941D7E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941D7E#FFFFFF#000000##FFFFFF
##941D7E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#4C5A7B
Tritanopia (blue-blind)
#9C264D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941d7e;
/* rgb */ color: rgb(148, 29, 126);
/* oklch */ color: oklch(46.7% 0.183 337.1);
Tailwind
colors: {
  custom: {
    50: '#b768a3',
    500: '#941d7e',
    950: '#000000',
  },
}
SCSS
$custom: #941d7e;
$custom-light: #b768a3;
$custom-dark: #000000;
JSON
{
  "hex": "#941d7e",
  "rgb": {
    "r": 148,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 311.092,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.18283,
    "h": 337.1
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#941D7E
secondary
#4EBF63
accent
#EA5E3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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