#941987#941987

#941987 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 47.0% C 0.193 H 333.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#941987
RGBrgb(148, 25, 135)
HSLhsl(306, 71%, 34%)
HSVhsv(306, 83%, 58%)
CMYKcmyk(0%, 83.1%, 8.8%, 42%)
CIE-LABlab(35.48, 59.44, -31.57)
CIE-LCHlch(35.48, 67.30, 332.03°)
OKLaboklab(46.95% 0.1719 -0.0868)
OKLCHoklch(46.95% 0.193 333.2)
XYZxyz(16.9337, 8.7419, 23.7125)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941987 #199426
analogous
#641994 #941987 #94194A
triadic
#941987 #879419 #198794
tetradic
#941987 #946419 #199426 #194A94
square
#941987 #946419 #199426 #194A94
split-complementary
#941987 #4A9419 #199464
monochromatic
#2B0727 #601057 #941987 #C822B7 #E047D0

Accessibility & contrast

On white

7.64
#941987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#941987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941987
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941987#FFFFFF#000000##FFFFFF
##9419871.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#9B2851
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941987;
/* rgb */ color: rgb(148, 25, 135);
/* oklch */ color: oklch(47.0% 0.193 333.2);
Tailwind
colors: {
  custom: {
    50: '#b767aa',
    500: '#941987',
    950: '#000000',
  },
}
SCSS
$custom: #941987;
$custom-light: #b767aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941987",
  "rgb": {
    "r": 148,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 306.341,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.1926,
    "h": 333.2
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#941987
secondary
#47C154
accent
#EE4D3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941987

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

Preview Lab → · Contrast checker → · Palette generator →

#941987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva