#943CB0#943CB0

#943CB0 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.187 H 317.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#943CB0
RGBrgb(148, 60, 176)
HSLhsl(286, 49%, 46%)
HSVhsv(286, 66%, 69%)
CMYKcmyk(15.9%, 65.9%, 0%, 31%)
CIE-LABlab(42.25, 54.34, -45.58)
CIE-LCHlch(42.25, 70.93, 320.01°)
OKLaboklab(52.57% 0.1371 -0.1278)
OKLCHoklch(52.57% 0.187 317)
XYZxyz(21.6639, 12.6631, 42.3689)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943CB0 #58B03C
analogous
#5A3CB0 #943CB0 #B03C92
triadic
#943CB0 #B0943C #3CB094
tetradic
#943CB0 #B05A3C #58B03C #3C92B0
square
#943CB0 #B05A3C #58B03C #3C92B0
split-complementary
#943CB0 #92B03C #3CB05A
monochromatic
#471D55 #6E2C82 #943CB0 #B060C9 #C68ED8

Accessibility & contrast

On white

5.94
#943CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#943CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943CB0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943CB0#FFFFFF#000000##FFFFFF
##943CB01.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB3
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#935171
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #943cb0;
/* rgb */ color: rgb(148, 60, 176);
/* oklch */ color: oklch(52.6% 0.187 317.0);
Tailwind
colors: {
  custom: {
    50: '#b778c8',
    500: '#943cb0',
    950: '#000000',
  },
}
SCSS
$custom: #943cb0;
$custom-light: #b778c8;
$custom-dark: #000000;
JSON
{
  "hex": "#943cb0",
  "rgb": {
    "r": 148,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 285.517,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.18743,
    "h": 317
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#943CB0
secondary
#94C385
accent
#D94F70
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #943CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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