#941B81#941B81

#941B81 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.187 H 335.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#941B81
RGBrgb(148, 27, 129)
HSLhsl(309, 69%, 34%)
HSVhsv(309, 82%, 58%)
CMYKcmyk(0%, 81.8%, 12.8%, 42%)
CIE-LABlab(35.33, 58.04, -28.07)
CIE-LCHlch(35.33, 64.47, 334.19°)
OKLaboklab(46.74% 0.1702 -0.0767)
OKLCHoklch(46.74% 0.187 335.7)
XYZxyz(16.5674, 8.6663, 21.5649)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B81 #1B942E
analogous
#6A1B94 #941B81 #941B45
triadic
#941B81 #81941B #1B8194
tetradic
#941B81 #946A1B #1B942E #1B4594
square
#941B81 #946A1B #1B942E #1B4594
split-complementary
#941B81 #45941B #1B946A
monochromatic
#2C0827 #601254 #941B81 #C824AE #DE4BC7

Accessibility & contrast

On white

7.68
#941B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#941B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B81
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B81#FFFFFF#000000##FFFFFF
##941B811.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#4A597E
Tritanopia (blue-blind)
#9C264E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941b81;
/* rgb */ color: rgb(148, 27, 129);
/* oklch */ color: oklch(46.7% 0.187 335.7);
Tailwind
colors: {
  custom: {
    50: '#b768a6',
    500: '#941b81',
    950: '#000000',
  },
}
SCSS
$custom: #941b81;
$custom-light: #b768a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941b81",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 309.421,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46741,
    "c": 0.18671,
    "h": 335.7
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#941B81
secondary
#4BC05D
accent
#EC573C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941B81

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

Preview Lab → · Contrast checker → · Palette generator →

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