#941A7F#941A7F

#941A7F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.186 H 336.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#941A7F
RGBrgb(148, 26, 127)
HSLhsl(310, 70%, 34%)
HSVhsv(310, 82%, 58%)
CMYKcmyk(0%, 82.4%, 14.2%, 42%)
CIE-LABlab(35.14, 58.00, -27.13)
CIE-LCHlch(35.14, 64.03, 334.93°)
OKLaboklab(46.57% 0.1709 -0.074)
OKLCHoklch(46.57% 0.186 336.6)
XYZxyz(16.4132, 8.5686, 20.8640)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A7F #1A942F
analogous
#6C1A94 #941A7F #941A42
triadic
#941A7F #7F941A #1A7F94
tetradic
#941A7F #946C1A #1A942F #1A4294
square
#941A7F #946C1A #1A942F #1A4294
split-complementary
#941A7F #42941A #1A946C
monochromatic
#2C0826 #601152 #941A7F #C823AC #DF49C5

Accessibility & contrast

On white

7.74
#941A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#941A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941A7F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A7F#FFFFFF#000000##FFFFFF
##941A7F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#9C244C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941a7f;
/* rgb */ color: rgb(148, 26, 127);
/* oklch */ color: oklch(46.6% 0.186 336.6);
Tailwind
colors: {
  custom: {
    50: '#b767a4',
    500: '#941a7f',
    950: '#000000',
  },
}
SCSS
$custom: #941a7f;
$custom-light: #b767a4;
$custom-dark: #000000;
JSON
{
  "hex": "#941a7f",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 310.328,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.1862,
    "h": 336.6
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#941A7F
secondary
#49C15E
accent
#ED5A3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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