#941F7D#941F7D

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

Color values

HEX#941F7D
RGBrgb(148, 31, 125)
HSLhsl(312, 65%, 35%)
HSVhsv(312, 79%, 58%)
CMYKcmyk(0%, 79.1%, 15.5%, 42%)
CIE-LABlab(35.51, 56.34, -25.30)
CIE-LCHlch(35.51, 61.76, 335.82°)
OKLaboklab(46.8% 0.1666 -0.0688)
OKLCHoklch(46.8% 0.18 337.6)
XYZxyz(16.4048, 8.7581, 20.2246)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F7D #1F9436
analogous
#711F94 #941F7D #941F42
triadic
#941F7D #7D941F #1F7D94
tetradic
#941F7D #94711F #1F9436 #1F4294
square
#941F7D #94711F #1F9436 #1F4294
split-complementary
#941F7D #42941F #1F9471
monochromatic
#2F0A28 #611452 #941F7D #C72AA8 #DB53C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##941F7D#FFFFFF#000000##FFFFFF
##941F7D1.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)
#24487F
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#9C264C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941f7d;
/* rgb */ color: rgb(148, 31, 125);
/* oklch */ color: oklch(46.8% 0.180 337.6);
Tailwind
colors: {
  custom: {
    50: '#b769a3',
    500: '#941f7d',
    950: '#000000',
  },
}
SCSS
$custom: #941f7d;
$custom-light: #b769a3;
$custom-dark: #000000;
JSON
{
  "hex": "#941f7d",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 311.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.18022,
    "h": 337.6
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#941F7D
secondary
#51BE66
accent
#E8613F
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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