#943DB7#943DB7

#943DB7 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.193 H 314.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#943DB7
RGBrgb(148, 61, 183)
HSLhsl(283, 50%, 48%)
HSVhsv(283, 67%, 72%)
CMYKcmyk(19.1%, 66.7%, 0%, 28.2%)
CIE-LABlab(42.84, 55.34, -48.76)
CIE-LCHlch(42.84, 73.75, 318.62°)
OKLaboklab(53.14% 0.1357 -0.1371)
OKLCHoklch(53.14% 0.193 314.7)
XYZxyz(22.4273, 13.0530, 46.1287)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943DB7 #60B73D
analogous
#573DB7 #943DB7 #B73D9D
triadic
#943DB7 #B7943D #3DB794
tetradic
#943DB7 #B7573D #60B73D #3D9DB7
square
#943DB7 #B7573D #60B73D #3D9DB7
split-complementary
#943DB7 #9DB73D #3DB757
monochromatic
#4A1E5B #6F2E89 #943DB7 #AE65CC #C793DB

Accessibility & contrast

On white

5.82
#943DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#943DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943DB7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943DB7#FFFFFF#000000##FFFFFF
##943DB71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3967B4
Tritanopia (blue-blind)
#915575
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #943db7;
/* rgb */ color: rgb(148, 61, 183);
/* oklch */ color: oklch(53.1% 0.193 314.7);
Tailwind
colors: {
  custom: {
    50: '#b779cd',
    500: '#943db7',
    950: '#000000',
  },
}
SCSS
$custom: #943db7;
$custom-light: #b779cd;
$custom-dark: #000000;
JSON
{
  "hex": "#943db7",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 282.787,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.19288,
    "h": 314.7
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#943DB7
secondary
#9BC689
accent
#DA4E76
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #943DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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