#941B8D#941B8D

#941B8D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.195 H 330.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#941B8D
RGBrgb(148, 27, 141)
HSLhsl(303, 69%, 34%)
HSVhsv(303, 82%, 58%)
CMYKcmyk(0%, 81.8%, 4.7%, 42%)
CIE-LABlab(35.99, 59.87, -34.46)
CIE-LCHlch(35.99, 69.08, 330.07°)
OKLaboklab(47.43% 0.1705 -0.0952)
OKLCHoklch(47.43% 0.195 330.8)
XYZxyz(17.4124, 9.0043, 26.0151)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B8D #1B9422
analogous
#5F1B94 #941B8D #941B51
triadic
#941B8D #8D941B #1B8D94
tetradic
#941B8D #945F1B #1B9422 #1B5194
square
#941B8D #945F1B #1B9422 #1B5194
split-complementary
#941B8D #51941B #1B945F
monochromatic
#2C082A #60125C #941B8D #C824BE #DE4BD6

Accessibility & contrast

On white

7.50
#941B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#941B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B8D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B8D#FFFFFF#000000##FFFFFF
##941B8D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A90
Deuteranopia (green-blind)
#445A8A
Tritanopia (blue-blind)
#9A2D55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #941b8d;
/* rgb */ color: rgb(148, 27, 141);
/* oklch */ color: oklch(47.4% 0.195 330.8);
Tailwind
colors: {
  custom: {
    50: '#b768af',
    500: '#941b8d',
    950: '#000000',
  },
}
SCSS
$custom: #941b8d;
$custom-light: #b768af;
$custom-dark: #000000;
JSON
{
  "hex": "#941b8d",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 303.471,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47425,
    "c": 0.19527,
    "h": 330.8
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#941B8D
secondary
#4BC051
accent
#EC463C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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