#941F7B#941F7B

#941F7B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.179 H 338.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#941F7B
RGBrgb(148, 31, 123)
HSLhsl(313, 65%, 35%)
HSVhsv(313, 79%, 58%)
CMYKcmyk(0%, 79.1%, 16.9%, 42%)
CIE-LABlab(35.41, 56.05, -24.20)
CIE-LCHlch(35.41, 61.05, 336.65°)
OKLaboklab(46.7% 0.1664 -0.0657)
OKLCHoklch(46.7% 0.179 338.5)
XYZxyz(16.2783, 8.7075, 19.5585)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F7B #1F9438
analogous
#731F94 #941F7B #941F40
triadic
#941F7B #7B941F #1F7B94
tetradic
#941F7B #94731F #1F9438 #1F4094
square
#941F7B #94731F #1F9438 #1F4094
split-complementary
#941F7B #40941F #1F9473
monochromatic
#2F0A27 #611451 #941F7B #C72AA5 #DB53BE

Accessibility & contrast

On white

7.66
#941F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941F7B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F7B#FFFFFF#000000##FFFFFF
##941F7B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #941f7b;
/* rgb */ color: rgb(148, 31, 123);
/* oklch */ color: oklch(46.7% 0.179 338.5);
Tailwind
colors: {
  custom: {
    50: '#b769a1',
    500: '#941f7b',
    950: '#000000',
  },
}
SCSS
$custom: #941f7b;
$custom-light: #b769a1;
$custom-dark: #000000;
JSON
{
  "hex": "#941f7b",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 312.821,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.467,
    "c": 0.17886,
    "h": 338.5
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#941F7B
secondary
#51BE68
accent
#E8643F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #941F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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