#941786#941786

#941786 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.193 H 333.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#941786
RGBrgb(148, 23, 134)
HSLhsl(307, 73%, 34%)
HSVhsv(307, 84%, 58%)
CMYKcmyk(0%, 84.5%, 9.5%, 42%)
CIE-LABlab(35.26, 59.76, -31.29)
CIE-LCHlch(35.26, 67.46, 332.36°)
OKLaboklab(46.78% 0.1733 -0.086)
OKLCHoklch(46.78% 0.193 333.6)
XYZxyz(16.8224, 8.6314, 23.3297)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941786 #179425
analogous
#631794 #941786 #941747
triadic
#941786 #869417 #178694
tetradic
#941786 #946317 #179425 #174794
square
#941786 #946317 #179425 #174794
split-complementary
#941786 #479417 #179463
monochromatic
#2A0726 #5F0F56 #941786 #C91FB6 #E244D0

Accessibility & contrast

On white

7.70
#941786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#941786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941786
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941786#FFFFFF#000000##FFFFFF
##9417861.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#9B2750
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941786;
/* rgb */ color: rgb(148, 23, 134);
/* oklch */ color: oklch(46.8% 0.193 333.6);
Tailwind
colors: {
  custom: {
    50: '#b767a9',
    500: '#941786',
    950: '#000000',
  },
}
SCSS
$custom: #941786;
$custom-light: #b767a9;
$custom-dark: #000000;
JSON
{
  "hex": "#941786",
  "rgb": {
    "r": 148,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 306.72,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.19346,
    "h": 333.6
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#941786
secondary
#44C352
accent
#F04D38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941786

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

Preview Lab → · Contrast checker → · Palette generator →

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