#941782#941782

#941782 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.191 H 335.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#941782
RGBrgb(148, 23, 130)
HSLhsl(309, 73%, 34%)
HSVhsv(309, 84%, 58%)
CMYKcmyk(0%, 84.5%, 12.2%, 42%)
CIE-LABlab(35.05, 59.17, -29.15)
CIE-LCHlch(35.05, 65.96, 333.77°)
OKLaboklab(46.55% 0.1732 -0.0798)
OKLCHoklch(46.55% 0.191 335.3)
XYZxyz(16.5487, 8.5220, 21.8881)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941782 #179429
analogous
#671794 #941782 #941743
triadic
#941782 #829417 #178294
tetradic
#941782 #946717 #179429 #174394
square
#941782 #946717 #179429 #174394
split-complementary
#941782 #439417 #179467
monochromatic
#2A0725 #5F0F53 #941782 #C91FB1 #E244CB

Accessibility & contrast

On white

7.77
#941782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#941782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941782
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941782#FFFFFF#000000##FFFFFF
##9417821.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#48597F
Tritanopia (blue-blind)
#9C244D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941782;
/* rgb */ color: rgb(148, 23, 130);
/* oklch */ color: oklch(46.6% 0.191 335.3);
Tailwind
colors: {
  custom: {
    50: '#b766a6',
    500: '#941782',
    950: '#000000',
  },
}
SCSS
$custom: #941782;
$custom-light: #b766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941782",
  "rgb": {
    "r": 148,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 308.64,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.19069,
    "h": 335.3
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#941782
secondary
#44C356
accent
#F05238
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941782

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

Preview Lab → · Contrast checker → · Palette generator →

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