#943DB2#943DB2

#943DB2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.188 H 316.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#943DB2
RGBrgb(148, 61, 178)
HSLhsl(285, 49%, 47%)
HSVhsv(285, 66%, 70%)
CMYKcmyk(16.9%, 65.7%, 0%, 30.2%)
CIE-LABlab(42.53, 54.30, -46.31)
CIE-LCHlch(42.53, 71.37, 319.54°)
OKLaboklab(52.82% 0.1359 -0.1299)
OKLCHoklch(52.82% 0.188 316.3)
XYZxyz(21.9161, 12.8486, 43.4364)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943DB2 #5BB23D
analogous
#593DB2 #943DB2 #B23D96
triadic
#943DB2 #B2943D #3DB294
tetradic
#943DB2 #B2593D #5BB23D #3D96B2
square
#943DB2 #B2593D #5BB23D #3D96B2
split-complementary
#943DB2 #96B23D #3DB259
monochromatic
#481E57 #6E2D84 #943DB2 #AF63C9 #C690D9

Accessibility & contrast

On white

5.88
#943DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#943DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943DB2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943DB2#FFFFFF#000000##FFFFFF
##943DB21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB6
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#925372
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #943db2;
/* rgb */ color: rgb(148, 61, 178);
/* oklch */ color: oklch(52.8% 0.188 316.3);
Tailwind
colors: {
  custom: {
    50: '#b779ca',
    500: '#943db2',
    950: '#000000',
  },
}
SCSS
$custom: #943db2;
$custom-light: #b779ca;
$custom-dark: #000000;
JSON
{
  "hex": "#943db2",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 284.615,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.18801,
    "h": 316.3
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#943DB2
secondary
#96C487
accent
#D94F72
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #943DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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