#943BB7#943BB7

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

Color values

HEX#943BB7
RGBrgb(148, 59, 183)
HSLhsl(283, 51%, 47%)
HSVhsv(283, 68%, 72%)
CMYKcmyk(19.1%, 67.8%, 0%, 28.2%)
CIE-LABlab(42.53, 56.22, -49.26)
CIE-LCHlch(42.53, 74.75, 318.77°)
OKLaboklab(52.91% 0.1379 -0.1386)
OKLCHoklch(52.91% 0.196 314.9)
XYZxyz(22.3226, 12.8435, 46.0937)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BB7 #5EB73B
analogous
#563BB7 #943BB7 #B73B9C
triadic
#943BB7 #B7943B #3BB794
tetradic
#943BB7 #B7563B #5EB73B #3B9CB7
square
#943BB7 #B7563B #5EB73B #3B9CB7
split-complementary
#943BB7 #9CB73B #3BB756
monochromatic
#491D5A #6F2C89 #943BB7 #AF63CD #C691DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##943BB7#FFFFFF#000000##FFFFFF
##943BB71.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)
#005FBB
Deuteranopia (green-blind)
#3767B4
Tritanopia (blue-blind)
#915374
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #943bb7;
/* rgb */ color: rgb(148, 59, 183);
/* oklch */ color: oklch(52.9% 0.196 314.9);
Tailwind
colors: {
  custom: {
    50: '#b778cd',
    500: '#943bb7',
    950: '#000000',
  },
}
SCSS
$custom: #943bb7;
$custom-light: #b778cd;
$custom-dark: #000000;
JSON
{
  "hex": "#943bb7",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 283.065,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.19551,
    "h": 314.9
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#943BB7
secondary
#99C687
accent
#DB4D75
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #943BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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