#943CB7#943CB7

#943CB7 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.194 H 314.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#943CB7
RGBrgb(148, 60, 183)
HSLhsl(283, 51%, 48%)
HSVhsv(283, 67%, 72%)
CMYKcmyk(19.1%, 67.2%, 0%, 28.2%)
CIE-LABlab(42.68, 55.78, -49.01)
CIE-LCHlch(42.68, 74.25, 318.69°)
OKLaboklab(53.02% 0.1368 -0.1379)
OKLCHoklch(53.02% 0.194 314.8)
XYZxyz(22.3744, 12.9473, 46.1110)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943CB7 #5FB73C
analogous
#573CB7 #943CB7 #B73C9C
triadic
#943CB7 #B7943C #3CB794
tetradic
#943CB7 #B7573C #5FB73C #3C9CB7
square
#943CB7 #B7573C #5FB73C #3C9CB7
split-complementary
#943CB7 #9CB73C #3CB757
monochromatic
#491E5B #6F2D89 #943CB7 #AF64CC #C692DB

Accessibility & contrast

On white

5.85
#943CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#943CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943CB7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943CB7#FFFFFF#000000##FFFFFF
##943CB71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #943cb7;
/* rgb */ color: rgb(148, 60, 183);
/* oklch */ color: oklch(53.0% 0.194 314.8);
Tailwind
colors: {
  custom: {
    50: '#b778cd',
    500: '#943cb7',
    950: '#000000',
  },
}
SCSS
$custom: #943cb7;
$custom-light: #b778cd;
$custom-dark: #000000;
JSON
{
  "hex": "#943cb7",
  "rgb": {
    "r": 148,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 282.927,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.19421,
    "h": 314.8
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #943CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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