#941A7D#941A7D

#941A7D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.5% C 0.185 H 337.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#941A7D
RGBrgb(148, 26, 125)
HSLhsl(311, 70%, 34%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 82.4%, 15.5%, 42%)
CIE-LABlab(35.04, 57.71, -26.04)
CIE-LCHlch(35.04, 63.32, 335.71°)
OKLaboklab(46.46% 0.1707 -0.0709)
OKLCHoklch(46.46% 0.185 337.4)
XYZxyz(16.2842, 8.5170, 20.1844)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A7D #1A9431
analogous
#6E1A94 #941A7D #941A40
triadic
#941A7D #7D941A #1A7D94
tetradic
#941A7D #946E1A #1A9431 #1A4094
square
#941A7D #946E1A #1A9431 #1A4094
split-complementary
#941A7D #40941A #1A946E
monochromatic
#2C0825 #601151 #941A7D #C823A9 #DF49C3

Accessibility & contrast

On white

7.77
#941A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#941A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941A7D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A7D#FFFFFF#000000##FFFFFF
##941A7D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#4B597A
Tritanopia (blue-blind)
#9C234B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941a7d;
/* rgb */ color: rgb(148, 26, 125);
/* oklch */ color: oklch(46.5% 0.185 337.4);
Tailwind
colors: {
  custom: {
    50: '#b767a3',
    500: '#941a7d',
    950: '#000000',
  },
}
SCSS
$custom: #941a7d;
$custom-light: #b767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#941a7d",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 311.311,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.18484,
    "h": 337.4
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#941A7D
secondary
#49C160
accent
#ED5C3B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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