#941E7B#941E7B

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

Color values

HEX#941E7B
RGBrgb(148, 30, 123)
HSLhsl(313, 66%, 35%)
HSVhsv(313, 80%, 58%)
CMYKcmyk(0%, 79.7%, 16.9%, 42%)
CIE-LABlab(35.31, 56.34, -24.36)
CIE-LCHlch(35.31, 61.38, 336.62°)
OKLaboklab(46.63% 0.1672 -0.0661)
OKLCHoklch(46.63% 0.18 338.4)
XYZxyz(16.2526, 8.6561, 19.5499)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941E7B #1E9437
analogous
#721E94 #941E7B #941E40
triadic
#941E7B #7B941E #1E7B94
tetradic
#941E7B #94721E #1E9437 #1E4094
square
#941E7B #94721E #1E9437 #1E4094
split-complementary
#941E7B #40941E #1E9472
monochromatic
#2E0926 #611451 #941E7B #C728A5 #DC51BE

Accessibility & contrast

On white

7.69
#941E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#941E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941E7B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941E7B#FFFFFF#000000##FFFFFF
##941E7B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #941e7b;
/* rgb */ color: rgb(148, 30, 123);
/* oklch */ color: oklch(46.6% 0.180 338.4);
Tailwind
colors: {
  custom: {
    50: '#b768a1',
    500: '#941e7b',
    950: '#000000',
  },
}
SCSS
$custom: #941e7b;
$custom-light: #b768a1;
$custom-dark: #000000;
JSON
{
  "hex": "#941e7b",
  "rgb": {
    "r": 148,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 312.712,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46627,
    "c": 0.17983,
    "h": 338.4
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#941E7B
secondary
#4FBF67
accent
#E9633F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #941E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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