#941F78#941F78

#941F78 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.177 H 339.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#941F78
RGBrgb(148, 31, 120)
HSLhsl(314, 65%, 35%)
HSVhsv(314, 79%, 58%)
CMYKcmyk(0%, 79.1%, 18.9%, 42%)
CIE-LABlab(35.27, 55.63, -22.55)
CIE-LCHlch(35.27, 60.02, 337.94°)
OKLaboklab(46.55% 0.166 -0.061)
OKLCHoklch(46.55% 0.177 339.8)
XYZxyz(16.0934, 8.6336, 18.5846)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F78 #1F943B
analogous
#751F94 #941F78 #941F3D
triadic
#941F78 #78941F #1F7894
tetradic
#941F78 #94751F #1F943B #1F3D94
square
#941F78 #94751F #1F943B #1F3D94
split-complementary
#941F78 #3D941F #1F9475
monochromatic
#2F0A26 #61144F #941F78 #C72AA1 #DB53BA

Accessibility & contrast

On white

7.70
#941F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941F78
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F78#FFFFFF#000000##FFFFFF
##941F781.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28477A
Deuteranopia (green-blind)
#4F5975
Tritanopia (blue-blind)
#9D244A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941f78;
/* rgb */ color: rgb(148, 31, 120);
/* oklch */ color: oklch(46.5% 0.177 339.8);
Tailwind
colors: {
  custom: {
    50: '#b7699f',
    500: '#941f78',
    950: '#000000',
  },
}
SCSS
$custom: #941f78;
$custom-light: #b7699f;
$custom-dark: #000000;
JSON
{
  "hex": "#941f78",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 314.359,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.17685,
    "h": 339.8
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#941F78
secondary
#51BE6B
accent
#E8683F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #941F78

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

Preview Lab → · Contrast checker → · Palette generator →

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