#943DC7#943DC7

#943DC7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.209 H 310.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#943DC7
RGBrgb(148, 61, 199)
HSLhsl(278, 55%, 51%)
HSVhsv(278, 69%, 78%)
CMYKcmyk(25.6%, 69.3%, 0%, 22%)
CIE-LABlab(43.88, 58.74, -56.42)
CIE-LCHlch(43.88, 81.45, 316.15°)
OKLaboklab(54.21% 0.1343 -0.1596)
OKLCHoklch(54.21% 0.209 310.1)
XYZxyz(24.1883, 13.7574, 55.4030)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943DC7 #70C73D
analogous
#4F3DC7 #943DC7 #C73DB5
triadic
#943DC7 #C7943D #3DC794
tetradic
#943DC7 #C74F3D #70C73D #3DB5C7
square
#943DC7 #C74F3D #70C73D #3DB5C7
split-complementary
#943DC7 #B5C73D #3DC74F
monochromatic
#4F1F6B #722D9A #943DC7 #AE6CD5 #C89CE2

Accessibility & contrast

On white

5.60
#943DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#943DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943DC7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943DC7#FFFFFF#000000##FFFFFF
##943DC71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#2569C4
Tritanopia (blue-blind)
#8D5B7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943dc7;
/* rgb */ color: rgb(148, 61, 199);
/* oklch */ color: oklch(54.2% 0.209 310.1);
Tailwind
colors: {
  custom: {
    50: '#b879d9',
    500: '#943dc7',
    950: '#000000',
  },
}
SCSS
$custom: #943dc7;
$custom-light: #b879d9;
$custom-dark: #000000;
JSON
{
  "hex": "#943dc7",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 277.826,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.20858,
    "h": 310.1
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#943DC7
secondary
#A8CE91
accent
#DF4980
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #943DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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