#941F8A#941F8A

#941F8A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.190 H 332.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#941F8A
RGBrgb(148, 31, 138)
HSLhsl(305, 65%, 35%)
HSVhsv(305, 79%, 58%)
CMYKcmyk(0%, 79.1%, 6.8%, 42%)
CIE-LABlab(36.20, 58.31, -32.29)
CIE-LCHlch(36.20, 66.65, 331.03°)
OKLaboklab(47.52% 0.1674 -0.0889)
OKLCHoklch(47.52% 0.19 332)
XYZxyz(17.2902, 9.1123, 24.8880)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F8A #1F9429
analogous
#631F94 #941F8A #941F50
triadic
#941F8A #8A941F #1F8A94
tetradic
#941F8A #94631F #1F9429 #1F5094
square
#941F8A #94631F #1F9429 #1F5094
split-complementary
#941F8A #50941F #1F9463
monochromatic
#2F0A2C #61145B #941F8A #C72AB9 #DB53CF

Accessibility & contrast

On white

7.44
#941F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#941F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F8A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F8A#FFFFFF#000000##FFFFFF
##941F8A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#9A2E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #941f8a;
/* rgb */ color: rgb(148, 31, 138);
/* oklch */ color: oklch(47.5% 0.190 332.0);
Tailwind
colors: {
  custom: {
    50: '#b769ac',
    500: '#941f8a',
    950: '#000000',
  },
}
SCSS
$custom: #941f8a;
$custom-light: #b769ac;
$custom-dark: #000000;
JSON
{
  "hex": "#941f8a",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 305.128,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.1895,
    "h": 332
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#941F8A
secondary
#51BE5A
accent
#E84E3F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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