#943B8A#943B8A

#943B8A is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.3% C 0.154 H 332.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#943B8A
RGBrgb(148, 59, 138)
HSLhsl(307, 43%, 41%)
HSVhsv(307, 60%, 58%)
CMYKcmyk(0%, 60.1%, 6.8%, 42%)
CIE-LABlab(40.02, 47.61, -26.29)
CIE-LCHlch(40.02, 54.39, 331.09°)
OKLaboklab(50.28% 0.1363 -0.0719)
OKLCHoklch(50.28% 0.154 332.2)
XYZxyz(18.3641, 11.2601, 25.2460)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943B8A #3B9445
analogous
#713B94 #943B8A #943B5D
triadic
#943B8A #8A943B #3B8A94
tetradic
#943B8A #94713B #3B9445 #3B5D94
square
#943B8A #94713B #3B9445 #3B5D94
split-complementary
#943B8A #5D943B #3B9471
monochromatic
#3C1838 #682A61 #943B8A #BA52AE #CC7EC3

Accessibility & contrast

On white

6.46
#943B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#943B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943B8A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943B8A#FFFFFF#000000##FFFFFF
##943B8A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#9A425D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #943b8a;
/* rgb */ color: rgb(148, 59, 138);
/* oklch */ color: oklch(50.3% 0.154 332.2);
Tailwind
colors: {
  custom: {
    50: '#b676ac',
    500: '#943b8a',
    950: '#000000',
  },
}
SCSS
$custom: #943b8a;
$custom-light: #b676ac;
$custom-dark: #000000;
JSON
{
  "hex": "#943b8a",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 306.742,
    "s": 42.995,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.15409,
    "h": 332.2
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#943B8A
secondary
#76B57D
accent
#D36355
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #943B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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