#941F7E#941F7E

#941F7E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.181 H 337.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#941F7E
RGBrgb(148, 31, 126)
HSLhsl(311, 65%, 35%)
HSVhsv(311, 79%, 58%)
CMYKcmyk(0%, 79.1%, 14.9%, 42%)
CIE-LABlab(35.56, 56.49, -25.84)
CIE-LCHlch(35.56, 62.12, 335.42°)
OKLaboklab(46.86% 0.1667 -0.0703)
OKLCHoklch(46.86% 0.181 337.1)
XYZxyz(16.4690, 8.7838, 20.5627)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F7E #1F9435
analogous
#6F1F94 #941F7E #941F44
triadic
#941F7E #7E941F #1F7E94
tetradic
#941F7E #946F1F #1F9435 #1F4494
square
#941F7E #946F1F #1F9435 #1F4494
split-complementary
#941F7E #44941F #1F946F
monochromatic
#2F0A28 #611453 #941F7E #C72AA9 #DB53C1

Accessibility & contrast

On white

7.62
#941F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#941F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F7E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F7E#FFFFFF#000000##FFFFFF
##941F7E1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#4C5A7B
Tritanopia (blue-blind)
#9C274D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941f7e;
/* rgb */ color: rgb(148, 31, 126);
/* oklch */ color: oklch(46.9% 0.181 337.1);
Tailwind
colors: {
  custom: {
    50: '#b769a3',
    500: '#941f7e',
    950: '#000000',
  },
}
SCSS
$custom: #941f7e;
$custom-light: #b769a3;
$custom-dark: #000000;
JSON
{
  "hex": "#941f7e",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 311.282,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.18091,
    "h": 337.1
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#941F7E
secondary
#51BE65
accent
#E85F3F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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