#941781#941781

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

Color values

HEX#941781
RGBrgb(148, 23, 129)
HSLhsl(309, 73%, 34%)
HSVhsv(309, 84%, 58%)
CMYKcmyk(0%, 84.5%, 12.8%, 42%)
CIE-LABlab(34.99, 59.02, -28.61)
CIE-LCHlch(34.99, 65.59, 334.14°)
OKLaboklab(46.5% 0.1731 -0.0782)
OKLCHoklch(46.5% 0.19 335.7)
XYZxyz(16.4819, 8.4952, 21.5363)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941781 #17942A
analogous
#681794 #941781 #941742
triadic
#941781 #819417 #178194
tetradic
#941781 #946817 #17942A #174294
square
#941781 #946817 #17942A #174294
split-complementary
#941781 #429417 #179468
monochromatic
#2A0725 #5F0F53 #941781 #C91FAF #E244CA

Accessibility & contrast

On white

7.78
#941781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941781
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941781#FFFFFF#000000##FFFFFF
##9417811.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184784
Deuteranopia (green-blind)
#49597E
Tritanopia (blue-blind)
#9C234D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941781;
/* rgb */ color: rgb(148, 23, 129);
/* oklch */ color: oklch(46.5% 0.190 335.7);
Tailwind
colors: {
  custom: {
    50: '#b766a6',
    500: '#941781',
    950: '#000000',
  },
}
SCSS
$custom: #941781;
$custom-light: #b766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941781",
  "rgb": {
    "r": 148,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 309.12,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.19,
    "h": 335.7
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#941781
secondary
#44C357
accent
#F05438
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941781

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

Preview Lab → · Contrast checker → · Palette generator →

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