#941A7C#941A7C

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

Color values

HEX#941A7C
RGBrgb(148, 26, 124)
HSLhsl(312, 70%, 34%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 82.4%, 16.2%, 42%)
CIE-LABlab(34.99, 57.57, -25.50)
CIE-LCHlch(34.99, 62.97, 336.11°)
OKLaboklab(46.41% 0.1706 -0.0693)
OKLCHoklch(46.41% 0.184 337.9)
XYZxyz(16.2206, 8.4915, 19.8496)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A7C #1A9432
analogous
#6F1A94 #941A7C #941A3F
triadic
#941A7C #7C941A #1A7C94
tetradic
#941A7C #946F1A #1A9432 #1A3F94
square
#941A7C #946F1A #1A9432 #1A3F94
split-complementary
#941A7C #3F941A #1A946F
monochromatic
#2C0825 #601150 #941A7C #C823A8 #DF49C2

Accessibility & contrast

On white

7.78
#941A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941A7C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A7C#FFFFFF#000000##FFFFFF
##941A7C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#4C5979
Tritanopia (blue-blind)
#9D224B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941a7c;
/* rgb */ color: rgb(148, 26, 124);
/* oklch */ color: oklch(46.4% 0.184 337.9);
Tailwind
colors: {
  custom: {
    50: '#b767a2',
    500: '#941a7c',
    950: '#000000',
  },
}
SCSS
$custom: #941a7c;
$custom-light: #b767a2;
$custom-dark: #000000;
JSON
{
  "hex": "#941a7c",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 311.803,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.18417,
    "h": 337.9
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#941A7C
secondary
#49C161
accent
#ED5E3B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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