#943C8A#943C8A

#943C8A is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.4% C 0.153 H 332.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#943C8A
RGBrgb(148, 60, 138)
HSLhsl(307, 42%, 41%)
HSVhsv(307, 59%, 58%)
CMYKcmyk(0%, 59.5%, 6.8%, 42%)
CIE-LABlab(40.19, 47.14, -26.02)
CIE-LCHlch(40.19, 53.85, 331.10°)
OKLaboklab(50.41% 0.1349 -0.0711)
OKLCHoklch(50.41% 0.153 332.2)
XYZxyz(18.4160, 11.3639, 25.2633)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943C8A #3C9446
analogous
#723C94 #943C8A #943C5E
triadic
#943C8A #8A943C #3C8A94
tetradic
#943C8A #94723C #3C9446 #3C5E94
square
#943C8A #94723C #3C9446 #3C5E94
split-complementary
#943C8A #5E943C #3C9472
monochromatic
#3D1939 #682A61 #943C8A #BA54AE #CB7FC3

Accessibility & contrast

On white

6.42
#943C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#943C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943C8A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943C8A#FFFFFF#000000##FFFFFF
##943C8A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#9A435D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #943c8a;
/* rgb */ color: rgb(148, 60, 138);
/* oklch */ color: oklch(50.4% 0.153 332.2);
Tailwind
colors: {
  custom: {
    50: '#b677ac',
    500: '#943c8a',
    950: '#000000',
  },
}
SCSS
$custom: #943c8a;
$custom-light: #b677ac;
$custom-dark: #000000;
JSON
{
  "hex": "#943c8a",
  "rgb": {
    "r": 148,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 306.818,
    "s": 42.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.15254,
    "h": 332.2
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#943C8A
secondary
#77B57E
accent
#D26456
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #943C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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