#941D7B#941D7B

#941D7B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.181 H 338.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#941D7B
RGBrgb(148, 29, 123)
HSLhsl(313, 67%, 35%)
HSVhsv(313, 80%, 58%)
CMYKcmyk(0%, 80.4%, 16.9%, 42%)
CIE-LABlab(35.22, 56.63, -24.51)
CIE-LCHlch(35.22, 61.70, 336.59°)
OKLaboklab(46.56% 0.1681 -0.0665)
OKLCHoklch(46.56% 0.181 338.4)
XYZxyz(16.2277, 8.6063, 19.5416)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941D7B #1D9436
analogous
#721D94 #941D7B #941D40
triadic
#941D7B #7B941D #1D7B94
tetradic
#941D7B #94721D #1D9436 #1D4094
square
#941D7B #94721D #1D9436 #1D4094
split-complementary
#941D7B #40941D #1D9472
monochromatic
#2E0926 #611350 #941D7B #C727A6 #DC4FBF

Accessibility & contrast

On white

7.72
#941D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#941D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941D7B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941D7B#FFFFFF#000000##FFFFFF
##941D7B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#4D5978
Tritanopia (blue-blind)
#9D244B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941d7b;
/* rgb */ color: rgb(148, 29, 123);
/* oklch */ color: oklch(46.6% 0.181 338.4);
Tailwind
colors: {
  custom: {
    50: '#b768a1',
    500: '#941d7b',
    950: '#000000',
  },
}
SCSS
$custom: #941d7b;
$custom-light: #b768a1;
$custom-dark: #000000;
JSON
{
  "hex": "#941d7b",
  "rgb": {
    "r": 148,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 312.605,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.18079,
    "h": 338.4
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#941D7B
secondary
#4EBF65
accent
#EA623E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #941D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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