#941F8D#941F8D

#941F8D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.192 H 330.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#941F8D
RGBrgb(148, 31, 141)
HSLhsl(304, 65%, 35%)
HSVhsv(304, 79%, 58%)
CMYKcmyk(0%, 79.1%, 4.7%, 42%)
CIE-LABlab(36.37, 58.78, -33.87)
CIE-LCHlch(36.37, 67.84, 330.05°)
OKLaboklab(47.69% 0.1674 -0.0935)
OKLCHoklch(47.69% 0.192 330.8)
XYZxyz(17.5104, 9.2004, 26.0478)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F8D #1F9426
analogous
#611F94 #941F8D #941F52
triadic
#941F8D #8D941F #1F8D94
tetradic
#941F8D #94611F #1F9426 #1F5294
square
#941F8D #94611F #1F9426 #1F5294
split-complementary
#941F8D #52941F #1F9461
monochromatic
#2F0A2D #61145D #941F8D #C72ABD #DB53D3

Accessibility & contrast

On white

7.39
#941F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#941F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F8D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F8D#FFFFFF#000000##FFFFFF
##941F8D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#9A2F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #941f8d;
/* rgb */ color: rgb(148, 31, 141);
/* oklch */ color: oklch(47.7% 0.192 330.8);
Tailwind
colors: {
  custom: {
    50: '#b76aaf',
    500: '#941f8d',
    950: '#000000',
  },
}
SCSS
$custom: #941f8d;
$custom-light: #b76aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#941f8d",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 303.59,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.19171,
    "h": 330.8
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#941F8D
secondary
#51BE57
accent
#E84A3F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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