#941A7E#941A7E

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

Color values

HEX#941A7E
RGBrgb(148, 26, 126)
HSLhsl(311, 70%, 34%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 82.4%, 14.9%, 42%)
CIE-LABlab(35.09, 57.86, -26.59)
CIE-LCHlch(35.09, 63.67, 335.32°)
OKLaboklab(46.52% 0.1708 -0.0725)
OKLCHoklch(46.52% 0.186 337)
XYZxyz(16.3484, 8.5426, 20.5225)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A7E #1A9430
analogous
#6D1A94 #941A7E #941A41
triadic
#941A7E #7E941A #1A7E94
tetradic
#941A7E #946D1A #1A9430 #1A4194
square
#941A7E #946D1A #1A9430 #1A4194
split-complementary
#941A7E #41941A #1A946D
monochromatic
#2C0825 #601152 #941A7E #C823AA #DF49C4

Accessibility & contrast

On white

7.75
#941A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#941A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941A7E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A7E#FFFFFF#000000##FFFFFF
##941A7E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#9C234C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941a7e;
/* rgb */ color: rgb(148, 26, 126);
/* oklch */ color: oklch(46.5% 0.186 337.0);
Tailwind
colors: {
  custom: {
    50: '#b767a3',
    500: '#941a7e',
    950: '#000000',
  },
}
SCSS
$custom: #941a7e;
$custom-light: #b767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#941a7e",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 310.82,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.18552,
    "h": 337
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#941A7E
secondary
#49C15F
accent
#ED5B3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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