#941F7C#941F7C

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

Color values

HEX#941F7C
RGBrgb(148, 31, 124)
HSLhsl(312, 65%, 35%)
HSVhsv(312, 79%, 58%)
CMYKcmyk(0%, 79.1%, 16.2%, 42%)
CIE-LABlab(35.46, 56.20, -24.75)
CIE-LCHlch(35.46, 61.40, 336.23°)
OKLaboklab(46.75% 0.1665 -0.0672)
OKLCHoklch(46.75% 0.18 338)
XYZxyz(16.3412, 8.7327, 19.8898)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F7C #1F9437
analogous
#721F94 #941F7C #941F41
triadic
#941F7C #7C941F #1F7C94
tetradic
#941F7C #94721F #1F9437 #1F4194
square
#941F7C #94721F #1F9437 #1F4194
split-complementary
#941F7C #41941F #1F9472
monochromatic
#2F0A27 #611452 #941F7C #C72AA6 #DB53BF

Accessibility & contrast

On white

7.65
#941F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941F7C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F7C#FFFFFF#000000##FFFFFF
##941F7C1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #941f7c;
/* rgb */ color: rgb(148, 31, 124);
/* oklch */ color: oklch(46.8% 0.180 338.0);
Tailwind
colors: {
  custom: {
    50: '#b769a2',
    500: '#941f7c',
    950: '#000000',
  },
}
SCSS
$custom: #941f7c;
$custom-light: #b769a2;
$custom-dark: #000000;
JSON
{
  "hex": "#941f7c",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 312.308,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46752,
    "c": 0.17953,
    "h": 338
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#941F7C
secondary
#51BE67
accent
#E8623F
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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