#943EC6#943EC6

#943EC6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.206 H 310.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#943EC6
RGBrgb(148, 62, 198)
HSLhsl(278, 54%, 51%)
HSVhsv(278, 69%, 78%)
CMYKcmyk(25.3%, 68.7%, 0%, 22.4%)
CIE-LABlab(43.97, 58.08, -55.70)
CIE-LCHlch(43.97, 80.47, 316.20°)
OKLaboklab(54.26% 0.1334 -0.1575)
OKLCHoklch(54.26% 0.206 310.3)
XYZxyz(24.1264, 13.8189, 54.8115)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943EC6 #70C63E
analogous
#503EC6 #943EC6 #C63EB4
triadic
#943EC6 #C6943E #3EC694
tetradic
#943EC6 #C6503E #70C63E #3EB4C6
square
#943EC6 #C6503E #70C63E #3EB4C6
split-complementary
#943EC6 #B4C63E #3EC650
monochromatic
#4F1F6A #722D99 #943EC6 #AE6DD4 #C89CE2

Accessibility & contrast

On white

5.58
#943EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#943EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943EC6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943EC6#FFFFFF#000000##FFFFFF
##943EC61.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#2869C3
Tritanopia (blue-blind)
#8D5B7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943ec6;
/* rgb */ color: rgb(148, 62, 198);
/* oklch */ color: oklch(54.3% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#b87ad8',
    500: '#943ec6',
    950: '#000000',
  },
}
SCSS
$custom: #943ec6;
$custom-light: #b87ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#943ec6",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 277.941,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.20635,
    "h": 310.3
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#943EC6
secondary
#A8CE92
accent
#DE4A80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #943EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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