#941A78#941A78

#941A78 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 339.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#941A78
RGBrgb(148, 26, 120)
HSLhsl(314, 70%, 34%)
HSVhsv(314, 82%, 58%)
CMYKcmyk(0%, 82.4%, 18.9%, 42%)
CIE-LABlab(34.79, 57.01, -23.30)
CIE-LCHlch(34.79, 61.59, 337.77°)
OKLaboklab(46.2% 0.1702 -0.0631)
OKLCHoklch(46.2% 0.182 339.7)
XYZxyz(15.9728, 8.3924, 18.5444)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A78 #1A9436
analogous
#731A94 #941A78 #941A3B
triadic
#941A78 #78941A #1A7894
tetradic
#941A78 #94731A #1A9436 #1A3B94
square
#941A78 #94731A #1A9436 #1A3B94
split-complementary
#941A78 #3B941A #1A9473
monochromatic
#2C0824 #60114E #941A78 #C823A2 #DF49BD

Accessibility & contrast

On white

7.84
#941A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#941A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941A78
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A78#FFFFFF#000000##FFFFFF
##941A781.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#4D5975
Tritanopia (blue-blind)
#9D2048
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941a78;
/* rgb */ color: rgb(148, 26, 120);
/* oklch */ color: oklch(46.2% 0.182 339.7);
Tailwind
colors: {
  custom: {
    50: '#b7679f',
    500: '#941a78',
    950: '#000000',
  },
}
SCSS
$custom: #941a78;
$custom-light: #b7679f;
$custom-dark: #000000;
JSON
{
  "hex": "#941a78",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 313.77,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46201,
    "c": 0.18152,
    "h": 339.7
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#941A78
secondary
#49C164
accent
#ED643B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #941A78

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

Preview Lab → · Contrast checker → · Palette generator →

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