#941F87#941F87

#941F87 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.187 H 333.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#941F87
RGBrgb(148, 31, 135)
HSLhsl(307, 65%, 35%)
HSVhsv(307, 79%, 58%)
CMYKcmyk(0%, 79.1%, 8.8%, 42%)
CIE-LABlab(36.04, 57.84, -30.69)
CIE-LCHlch(36.04, 65.48, 332.05°)
OKLaboklab(47.35% 0.1673 -0.0843)
OKLCHoklch(47.35% 0.187 333.3)
XYZxyz(17.0760, 9.0266, 23.7599)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F87 #1F942C
analogous
#671F94 #941F87 #941F4C
triadic
#941F87 #87941F #1F8794
tetradic
#941F87 #94671F #1F942C #1F4C94
square
#941F87 #94671F #1F942C #1F4C94
split-complementary
#941F87 #4C941F #1F9467
monochromatic
#2F0A2B #611459 #941F87 #C72AB5 #DB53CC

Accessibility & contrast

On white

7.49
#941F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#941F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F87
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F87#FFFFFF#000000##FFFFFF
##941F871.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#485B84
Tritanopia (blue-blind)
#9B2C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #941f87;
/* rgb */ color: rgb(148, 31, 135);
/* oklch */ color: oklch(47.3% 0.187 333.3);
Tailwind
colors: {
  custom: {
    50: '#b769aa',
    500: '#941f87',
    950: '#000000',
  },
}
SCSS
$custom: #941f87;
$custom-light: #b769aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941f87",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 306.667,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.1873,
    "h": 333.3
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#941F87
secondary
#51BE5D
accent
#E8523F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941F87

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

Preview Lab → · Contrast checker → · Palette generator →

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