#943D8A#943D8A

#943D8A is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.5% C 0.151 H 332.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#943D8A
RGBrgb(148, 61, 138)
HSLhsl(307, 42%, 41%)
HSVhsv(307, 59%, 58%)
CMYKcmyk(0%, 58.8%, 6.8%, 42%)
CIE-LABlab(40.36, 46.67, -25.75)
CIE-LCHlch(40.36, 53.30, 331.11°)
OKLaboklab(50.53% 0.1336 -0.0703)
OKLCHoklch(50.53% 0.151 332.2)
XYZxyz(18.4689, 11.4697, 25.2809)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943D8A #3D9447
analogous
#723D94 #943D8A #943D5E
triadic
#943D8A #8A943D #3D8A94
tetradic
#943D8A #94723D #3D9447 #3D5E94
square
#943D8A #94723D #3D9447 #3D5E94
split-complementary
#943D8A #5E943D #3D9472
monochromatic
#3D1939 #692B62 #943D8A #B955AE #CB81C2

Accessibility & contrast

On white

6.38
#943D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#943D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943D8A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943D8A#FFFFFF#000000##FFFFFF
##943D8A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#9A445E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #943d8a;
/* rgb */ color: rgb(148, 61, 138);
/* oklch */ color: oklch(50.5% 0.151 332.2);
Tailwind
colors: {
  custom: {
    50: '#b678ac',
    500: '#943d8a',
    950: '#000000',
  },
}
SCSS
$custom: #943d8a;
$custom-light: #b678ac;
$custom-dark: #000000;
JSON
{
  "hex": "#943d8a",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 306.897,
    "s": 41.627,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.15097,
    "h": 332.2
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#943D8A
secondary
#78B57F
accent
#D16556
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #943D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#943D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva