#943BAF#943BAF

#943BAF is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.188 H 317.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#943BAF
RGBrgb(148, 59, 175)
HSLhsl(286, 50%, 46%)
HSVhsv(286, 66%, 69%)
CMYKcmyk(15.4%, 66.3%, 0%, 31.4%)
CIE-LABlab(42.03, 54.58, -45.34)
CIE-LCHlch(42.03, 70.96, 320.28°)
OKLaboklab(52.4% 0.1383 -0.1271)
OKLCHoklch(52.4% 0.188 317.4)
XYZxyz(21.5135, 12.5199, 41.8325)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BAF #56AF3B
analogous
#5A3BAF #943BAF #AF3B90
triadic
#943BAF #AF943B #3BAF94
tetradic
#943BAF #AF5A3B #56AF3B #3B90AF
square
#943BAF #AF5A3B #56AF3B #3B90AF
split-complementary
#943BAF #90AF3B #3BAF5A
monochromatic
#471C53 #6D2C81 #943BAF #B05EC9 #C78CD8

Accessibility & contrast

On white

5.99
#943BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#943BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BAF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BAF#FFFFFF#000000##FFFFFF
##943BAF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5EB2
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#935070
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #943baf;
/* rgb */ color: rgb(148, 59, 175);
/* oklch */ color: oklch(52.4% 0.188 317.4);
Tailwind
colors: {
  custom: {
    50: '#b778c7',
    500: '#943baf',
    950: '#000000',
  },
}
SCSS
$custom: #943baf;
$custom-light: #b778c7;
$custom-dark: #000000;
JSON
{
  "hex": "#943baf",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 286.034,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.18783,
    "h": 317.4
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#943BAF
secondary
#92C383
accent
#D94F6F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #943BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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