#941B8E#941B8E

#941B8E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.196 H 330.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#941B8E
RGBrgb(148, 27, 142)
HSLhsl(303, 69%, 34%)
HSVhsv(303, 82%, 58%)
CMYKcmyk(0%, 81.8%, 4.1%, 42%)
CIE-LABlab(36.05, 60.02, -34.99)
CIE-LCHlch(36.05, 69.48, 329.76°)
OKLaboklab(47.48% 0.1705 -0.0967)
OKLCHoklch(47.48% 0.196 330.4)
XYZxyz(17.4871, 9.0342, 26.4087)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B8E #1B9421
analogous
#5E1B94 #941B8E #941B52
triadic
#941B8E #8E941B #1B8E94
tetradic
#941B8E #945E1B #1B9421 #1B5294
square
#941B8E #945E1B #1B9421 #1B5294
split-complementary
#941B8E #52941B #1B945E
monochromatic
#2C082B #60125C #941B8E #C824C0 #DE4BD7

Accessibility & contrast

On white

7.48
#941B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941B8E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B8E#FFFFFF#000000##FFFFFF
##941B8E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A91
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#9A2E55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #941b8e;
/* rgb */ color: rgb(148, 27, 142);
/* oklch */ color: oklch(47.5% 0.196 330.4);
Tailwind
colors: {
  custom: {
    50: '#b768af',
    500: '#941b8e',
    950: '#000000',
  },
}
SCSS
$custom: #941b8e;
$custom-light: #b768af;
$custom-dark: #000000;
JSON
{
  "hex": "#941b8e",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 302.975,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47484,
    "c": 0.19601,
    "h": 330.4
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#941B8E
secondary
#4BC050
accent
#EC453C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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