#943FC7#943FC7

#943FC7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.206 H 309.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#943FC7
RGBrgb(148, 63, 199)
HSLhsl(278, 55%, 51%)
HSVhsv(278, 68%, 78%)
CMYKcmyk(25.6%, 68.3%, 0%, 22%)
CIE-LABlab(44.20, 57.86, -55.92)
CIE-LCHlch(44.20, 80.46, 315.98°)
OKLaboklab(54.44% 0.1322 -0.1581)
OKLCHoklch(54.44% 0.206 309.9)
XYZxyz(24.2970, 13.9749, 55.4392)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FC7 #72C73F
analogous
#503FC7 #943FC7 #C73FB6
triadic
#943FC7 #C7943F #3FC794
tetradic
#943FC7 #C7503F #72C73F #3FB6C7
square
#943FC7 #C7503F #72C73F #3FB6C7
split-complementary
#943FC7 #B6C73F #3FC750
monochromatic
#4F206C #722D9B #943FC7 #AE6ED5 #C99EE3

Accessibility & contrast

On white

5.53
#943FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#943FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FC7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FC7#FFFFFF#000000##FFFFFF
##943FC71.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#8D5C7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943fc7;
/* rgb */ color: rgb(148, 63, 199);
/* oklch */ color: oklch(54.4% 0.206 309.9);
Tailwind
colors: {
  custom: {
    50: '#b87ad9',
    500: '#943fc7',
    950: '#000000',
  },
}
SCSS
$custom: #943fc7;
$custom-light: #b87ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#943fc7",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 277.5,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.2061,
    "h": 309.9
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#943FC7
secondary
#A9CF93
accent
#DE4A81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #943FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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