#943EC7#943EC7

#943EC7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.207 H 310.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#943EC7
RGBrgb(148, 62, 199)
HSLhsl(278, 55%, 51%)
HSVhsv(278, 69%, 78%)
CMYKcmyk(25.6%, 68.8%, 0%, 22%)
CIE-LABlab(44.04, 58.30, -56.17)
CIE-LCHlch(44.04, 80.96, 316.07°)
OKLaboklab(54.33% 0.1332 -0.1589)
OKLCHoklch(54.33% 0.207 310)
XYZxyz(24.2422, 13.8652, 55.4209)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943EC7 #71C73E
analogous
#4F3EC7 #943EC7 #C73EB5
triadic
#943EC7 #C7943E #3EC794
tetradic
#943EC7 #C74F3E #71C73E #3EB5C7
square
#943EC7 #C74F3E #71C73E #3EB5C7
split-complementary
#943EC7 #B5C73E #3EC74F
monochromatic
#4F1F6B #722D9B #943EC7 #AE6DD5 #C99DE3

Accessibility & contrast

On white

5.57
#943EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#943EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943EC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943EC7#FFFFFF#000000##FFFFFF
##943EC71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #943ec7;
/* rgb */ color: rgb(148, 62, 199);
/* oklch */ color: oklch(54.3% 0.207 310.0);
Tailwind
colors: {
  custom: {
    50: '#b87ad9',
    500: '#943ec7',
    950: '#000000',
  },
}
SCSS
$custom: #943ec7;
$custom-light: #b87ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#943ec7",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 277.664,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54325,
    "c": 0.20735,
    "h": 310
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#943EC7
secondary
#A9CF92
accent
#DE4981
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #943EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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