#941F7A#941F7A

#941F7A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 338.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#941F7A
RGBrgb(148, 31, 122)
HSLhsl(313, 65%, 35%)
HSVhsv(313, 79%, 58%)
CMYKcmyk(0%, 79.1%, 17.6%, 42%)
CIE-LABlab(35.37, 55.91, -23.65)
CIE-LCHlch(35.37, 60.71, 337.07°)
OKLaboklab(46.65% 0.1663 -0.0641)
OKLCHoklch(46.65% 0.178 338.9)
XYZxyz(16.2160, 8.6826, 19.2305)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F7A #1F9439
analogous
#731F94 #941F7A #941F40
triadic
#941F7A #7A941F #1F7A94
tetradic
#941F7A #94731F #1F9439 #1F4094
square
#941F7A #94731F #1F9439 #1F4094
split-complementary
#941F7A #40941F #1F9473
monochromatic
#2F0A27 #611450 #941F7A #C72AA4 #DB53BD

Accessibility & contrast

On white

7.67
#941F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#941F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F7A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F7A#FFFFFF#000000##FFFFFF
##941F7A1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487C
Deuteranopia (green-blind)
#4E5A77
Tritanopia (blue-blind)
#9D254B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941f7a;
/* rgb */ color: rgb(148, 31, 122);
/* oklch */ color: oklch(46.6% 0.178 338.9);
Tailwind
colors: {
  custom: {
    50: '#b769a0',
    500: '#941f7a',
    950: '#000000',
  },
}
SCSS
$custom: #941f7a;
$custom-light: #b769a0;
$custom-dark: #000000;
JSON
{
  "hex": "#941f7a",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 313.333,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.17818,
    "h": 338.9
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#941F7A
secondary
#51BE69
accent
#E8653F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #941F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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