#941887#941887

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

Color values

HEX#941887
RGBrgb(148, 24, 135)
HSLhsl(306, 72%, 34%)
HSVhsv(306, 84%, 58%)
CMYKcmyk(0%, 83.8%, 8.8%, 42%)
CIE-LABlab(35.40, 59.68, -31.70)
CIE-LCHlch(35.40, 67.57, 332.03°)
OKLaboklab(46.89% 0.1726 -0.0871)
OKLCHoklch(46.89% 0.193 333.2)
XYZxyz(16.9127, 8.6999, 23.7055)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941887 #189425
analogous
#631894 #941887 #941849
triadic
#941887 #879418 #188794
tetradic
#941887 #946318 #189425 #184994
square
#941887 #946318 #189425 #184994
split-complementary
#941887 #499418 #189463
monochromatic
#2B0727 #5F0F57 #941887 #C921B7 #E145D1

Accessibility & contrast

On white

7.67
#941887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#941887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941887
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941887#FFFFFF#000000##FFFFFF
##9418871.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #941887;
/* rgb */ color: rgb(148, 24, 135);
/* oklch */ color: oklch(46.9% 0.193 333.2);
Tailwind
colors: {
  custom: {
    50: '#b767aa',
    500: '#941887',
    950: '#000000',
  },
}
SCSS
$custom: #941887;
$custom-light: #b767aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941887",
  "rgb": {
    "r": 148,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 306.29,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.19339,
    "h": 333.2
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#941887
secondary
#46C253
accent
#EF4C39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941887

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

Preview Lab → · Contrast checker → · Palette generator →

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