#943DC4#943DC4

#943DC4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.206 H 310.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#943DC4
RGBrgb(148, 61, 196)
HSLhsl(279, 53%, 50%)
HSVhsv(279, 69%, 77%)
CMYKcmyk(24.5%, 68.9%, 0%, 23.1%)
CIE-LABlab(43.68, 58.09, -55.00)
CIE-LCHlch(43.68, 80.00, 316.56°)
OKLaboklab(54.01% 0.1346 -0.1554)
OKLCHoklch(54.01% 0.206 310.9)
XYZxyz(23.8434, 13.6195, 53.5866)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943DC4 #6DC43D
analogous
#503DC4 #943DC4 #C43DB0
triadic
#943DC4 #C4943D #3DC494
tetradic
#943DC4 #C4503D #6DC43D #3DB0C4
square
#943DC4 #C4503D #6DC43D #3DB0C4
split-complementary
#943DC4 #B0C43D #3DC450
monochromatic
#4E1F67 #712E96 #943DC4 #AE6CD2 #C89BE1

Accessibility & contrast

On white

5.64
#943DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#943DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943DC4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943DC4#FFFFFF#000000##FFFFFF
##943DC41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#2A69C1
Tritanopia (blue-blind)
#8E5A7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #943dc4;
/* rgb */ color: rgb(148, 61, 196);
/* oklch */ color: oklch(54.0% 0.206 310.9);
Tailwind
colors: {
  custom: {
    50: '#b879d7',
    500: '#943dc4',
    950: '#000000',
  },
}
SCSS
$custom: #943dc4;
$custom-light: #b879d7;
$custom-dark: #000000;
JSON
{
  "hex": "#943dc4",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 278.667,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.20563,
    "h": 310.9
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#943DC4
secondary
#A6CD90
accent
#DD4B7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #943DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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