#941B8F#941B8F

#941B8F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.197 H 330.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#941B8F
RGBrgb(148, 27, 143)
HSLhsl(302, 69%, 34%)
HSVhsv(302, 82%, 58%)
CMYKcmyk(0%, 81.8%, 3.4%, 42%)
CIE-LABlab(36.11, 60.18, -35.51)
CIE-LCHlch(36.11, 69.88, 329.46°)
OKLaboklab(47.54% 0.1705 -0.0982)
OKLCHoklch(47.54% 0.197 330.1)
XYZxyz(17.5625, 9.0644, 26.8059)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B8F #1B9420
analogous
#5D1B94 #941B8F #941B53
triadic
#941B8F #8F941B #1B8F94
tetradic
#941B8F #945D1B #1B9420 #1B5394
square
#941B8F #945D1B #1B9420 #1B5394
split-complementary
#941B8F #53941B #1B945D
monochromatic
#2C082B #60125D #941B8F #C824C1 #DE4BD8

Accessibility & contrast

On white

7.47
#941B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#941B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B8F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B8F#FFFFFF#000000##FFFFFF
##941B8F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B92
Deuteranopia (green-blind)
#435A8C
Tritanopia (blue-blind)
#9A2E56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #941b8f;
/* rgb */ color: rgb(148, 27, 143);
/* oklch */ color: oklch(47.5% 0.197 330.1);
Tailwind
colors: {
  custom: {
    50: '#b768b0',
    500: '#941b8f',
    950: '#000000',
  },
}
SCSS
$custom: #941b8f;
$custom-light: #b768b0;
$custom-dark: #000000;
JSON
{
  "hex": "#941b8f",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 302.479,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.19675,
    "h": 330.1
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#941B8F
secondary
#4BC04F
accent
#EC433C
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #941B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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