#941E7F#941E7F

#941E7F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.183 H 336.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#941E7F
RGBrgb(148, 30, 127)
HSLhsl(311, 66%, 35%)
HSVhsv(311, 80%, 58%)
CMYKcmyk(0%, 79.7%, 14.2%, 42%)
CIE-LABlab(35.51, 56.92, -26.54)
CIE-LCHlch(35.51, 62.81, 335.00°)
OKLaboklab(46.84% 0.1676 -0.0724)
OKLCHoklch(46.84% 0.183 336.7)
XYZxyz(16.5081, 8.7583, 20.8957)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941E7F #1E9433
analogous
#6E1E94 #941E7F #941E44
triadic
#941E7F #7F941E #1E7F94
tetradic
#941E7F #946E1E #1E9433 #1E4494
square
#941E7F #946E1E #1E9433 #1E4494
split-complementary
#941E7F #44941E #1E946E
monochromatic
#2E0928 #611453 #941E7F #C728AB #DC51C3

Accessibility & contrast

On white

7.63
#941E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#941E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941E7F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941E7F#FFFFFF#000000##FFFFFF
##941E7F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214882
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9C274D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941e7f;
/* rgb */ color: rgb(148, 30, 127);
/* oklch */ color: oklch(46.8% 0.183 336.7);
Tailwind
colors: {
  custom: {
    50: '#b769a4',
    500: '#941e7f',
    950: '#000000',
  },
}
SCSS
$custom: #941e7f;
$custom-light: #b769a4;
$custom-dark: #000000;
JSON
{
  "hex": "#941e7f",
  "rgb": {
    "r": 148,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 310.678,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.18257,
    "h": 336.7
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#941E7F
secondary
#4FBF63
accent
#E95D3F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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