#941A7B#941A7B

#941A7B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.183 H 338.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#941A7B
RGBrgb(148, 26, 123)
HSLhsl(312, 70%, 34%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 82.4%, 16.9%, 42%)
CIE-LABlab(34.94, 57.43, -24.95)
CIE-LCHlch(34.94, 62.61, 336.52°)
OKLaboklab(46.36% 0.1705 -0.0678)
OKLCHoklch(46.36% 0.184 338.3)
XYZxyz(16.1577, 8.4664, 19.5183)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A7B #1A9433
analogous
#701A94 #941A7B #941A3E
triadic
#941A7B #7B941A #1A7B94
tetradic
#941A7B #94701A #1A9433 #1A3E94
square
#941A7B #94701A #1A9433 #1A3E94
split-complementary
#941A7B #3E941A #1A9470
monochromatic
#2C0824 #601150 #941A7B #C823A6 #DF49C0

Accessibility & contrast

On white

7.80
#941A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#941A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941A7B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A7B#FFFFFF#000000##FFFFFF
##941A7B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#4C5978
Tritanopia (blue-blind)
#9D224A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941a7b;
/* rgb */ color: rgb(148, 26, 123);
/* oklch */ color: oklch(46.4% 0.183 338.3);
Tailwind
colors: {
  custom: {
    50: '#b767a1',
    500: '#941a7b',
    950: '#000000',
  },
}
SCSS
$custom: #941a7b;
$custom-light: #b767a1;
$custom-dark: #000000;
JSON
{
  "hex": "#941a7b",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 312.295,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.1835,
    "h": 338.3
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#941A7B
secondary
#49C162
accent
#ED5F3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #941A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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