#943BC5#943BC5

#943BC5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.209 H 310.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#943BC5
RGBrgb(148, 59, 197)
HSLhsl(279, 54%, 50%)
HSVhsv(279, 70%, 77%)
CMYKcmyk(24.9%, 70.1%, 0%, 22.7%)
CIE-LABlab(43.44, 59.17, -55.97)
CIE-LCHlch(43.44, 81.45, 316.59°)
OKLaboklab(53.86% 0.1366 -0.1583)
OKLCHoklch(53.86% 0.209 310.8)
XYZxyz(23.8528, 13.4556, 54.1532)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BC5 #6CC53B
analogous
#4F3BC5 #943BC5 #C53BB1
triadic
#943BC5 #C5943B #3BC594
tetradic
#943BC5 #C54F3B #6CC53B #3BB1C5
square
#943BC5 #C54F3B #6CC53B #3BB1C5
split-complementary
#943BC5 #B1C53B #3BC54F
monochromatic
#4D1F67 #712C96 #943BC5 #AE6AD3 #C899E1

Accessibility & contrast

On white

5.69
#943BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#943BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BC5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BC5#FFFFFF#000000##FFFFFF
##943BC51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#2668C2
Tritanopia (blue-blind)
#8E597C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #943bc5;
/* rgb */ color: rgb(148, 59, 197);
/* oklch */ color: oklch(53.9% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#b878d7',
    500: '#943bc5',
    950: '#000000',
  },
}
SCSS
$custom: #943bc5;
$custom-light: #b878d7;
$custom-dark: #000000;
JSON
{
  "hex": "#943bc5",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 278.696,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.20907,
    "h": 310.8
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#943BC5
secondary
#A5CD8F
accent
#DE4A7F
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #943BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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