#941582#941582

#941582 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.192 H 335.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#941582
RGBrgb(148, 21, 130)
HSLhsl(309, 75%, 33%)
HSVhsv(309, 86%, 58%)
CMYKcmyk(0%, 85.8%, 12.2%, 42%)
CIE-LABlab(34.89, 59.61, -29.39)
CIE-LCHlch(34.89, 66.46, 333.76°)
OKLaboklab(46.44% 0.1745 -0.0805)
OKLCHoklch(46.44% 0.192 335.2)
XYZxyz(16.5104, 8.4455, 21.8754)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941582 #159427
analogous
#661594 #941582 #941542
triadic
#941582 #829415 #158294
tetradic
#941582 #946615 #159427 #154294
square
#941582 #946615 #159427 #154294
split-complementary
#941582 #429415 #159466
monochromatic
#290624 #5E0D53 #941582 #CA1DB1 #E440CD

Accessibility & contrast

On white

7.81
#941582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941582
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941582#FFFFFF#000000##FFFFFF
##9415821.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154685
Deuteranopia (green-blind)
#48587F
Tritanopia (blue-blind)
#9C234D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941582;
/* rgb */ color: rgb(148, 21, 130);
/* oklch */ color: oklch(46.4% 0.192 335.2);
Tailwind
colors: {
  custom: {
    50: '#b766a6',
    500: '#941582',
    950: '#000000',
  },
}
SCSS
$custom: #941582;
$custom-light: #b766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941582",
  "rgb": {
    "r": 148,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 308.504,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.19217,
    "h": 335.2
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#941582
secondary
#41C453
accent
#F25136
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941582

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

Preview Lab → · Contrast checker → · Palette generator →

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