#941583#941583

#941583 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.193 H 334.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#941583
RGBrgb(148, 21, 131)
HSLhsl(308, 75%, 33%)
HSVhsv(308, 86%, 58%)
CMYKcmyk(0%, 85.8%, 11.5%, 42%)
CIE-LABlab(34.95, 59.76, -29.93)
CIE-LCHlch(34.95, 66.83, 333.40°)
OKLaboklab(46.5% 0.1745 -0.082)
OKLCHoklch(46.5% 0.193 334.8)
XYZxyz(16.5779, 8.4725, 22.2306)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941583 #159426
analogous
#651594 #941583 #941544
triadic
#941583 #839415 #158394
tetradic
#941583 #946515 #159426 #154494
square
#941583 #946515 #159426 #154494
split-complementary
#941583 #449415 #159465
monochromatic
#290624 #5E0D54 #941583 #CA1DB2 #E440CE

Accessibility & contrast

On white

7.79
#941583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#941583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941583
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941583#FFFFFF#000000##FFFFFF
##9415831.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134786
Deuteranopia (green-blind)
#475980
Tritanopia (blue-blind)
#9C244E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941583;
/* rgb */ color: rgb(148, 21, 131);
/* oklch */ color: oklch(46.5% 0.193 334.8);
Tailwind
colors: {
  custom: {
    50: '#b766a7',
    500: '#941583',
    950: '#000000',
  },
}
SCSS
$custom: #941583;
$custom-light: #b766a7;
$custom-dark: #000000;
JSON
{
  "hex": "#941583",
  "rgb": {
    "r": 148,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 308.031,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.465,
    "c": 0.19285,
    "h": 334.8
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#941583
secondary
#41C452
accent
#F24F36
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941583

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

Preview Lab → · Contrast checker → · Palette generator →

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