#941B87#941B87

#941B87 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.191 H 333.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#941B87
RGBrgb(148, 27, 135)
HSLhsl(306, 69%, 34%)
HSVhsv(306, 82%, 58%)
CMYKcmyk(0%, 81.8%, 8.8%, 42%)
CIE-LABlab(35.66, 58.94, -31.29)
CIE-LCHlch(35.66, 66.73, 332.03°)
OKLaboklab(47.08% 0.1705 -0.086)
OKLCHoklch(47.08% 0.191 333.2)
XYZxyz(16.9780, 8.8305, 23.7273)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B87 #1B9428
analogous
#651B94 #941B87 #941B4B
triadic
#941B87 #87941B #1B8794
tetradic
#941B87 #94651B #1B9428 #1B4B94
square
#941B87 #94651B #1B9428 #1B4B94
split-complementary
#941B87 #4B941B #1B9465
monochromatic
#2C0829 #601258 #941B87 #C824B6 #DE4BCE

Accessibility & contrast

On white

7.59
#941B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#941B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B87
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B87#FFFFFF#000000##FFFFFF
##941B871.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#9B2A51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941b87;
/* rgb */ color: rgb(148, 27, 135);
/* oklch */ color: oklch(47.1% 0.191 333.2);
Tailwind
colors: {
  custom: {
    50: '#b768aa',
    500: '#941b87',
    950: '#000000',
  },
}
SCSS
$custom: #941b87;
$custom-light: #b768aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941b87",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 306.446,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.19093,
    "h": 333.2
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#941B87
secondary
#4BC057
accent
#EC4F3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941B87

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

Preview Lab → · Contrast checker → · Palette generator →

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