#943AC4#943AC4

#943AC4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.209 H 311.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#943AC4
RGBrgb(148, 58, 196)
HSLhsl(279, 54%, 50%)
HSVhsv(279, 70%, 77%)
CMYKcmyk(24.5%, 70.4%, 0%, 23.1%)
CIE-LABlab(43.22, 59.38, -55.74)
CIE-LCHlch(43.22, 81.44, 316.81°)
OKLaboklab(53.68% 0.1378 -0.1576)
OKLCHoklch(53.68% 0.209 311.2)
XYZxyz(23.6877, 13.3081, 53.5347)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AC4 #6AC43A
analogous
#4F3AC4 #943AC4 #C43AAF
triadic
#943AC4 #C4943A #3AC494
tetradic
#943AC4 #C44F3A #6AC43A #3AAFC4
square
#943AC4 #C44F3A #6AC43A #3AAFC4
split-complementary
#943AC4 #AFC43A #3AC44F
monochromatic
#4D1E66 #702C95 #943AC4 #AE69D3 #C798E0

Accessibility & contrast

On white

5.74
#943AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#943AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943AC4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AC4#FFFFFF#000000##FFFFFF
##943AC41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#2668C1
Tritanopia (blue-blind)
#8E587B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #943ac4;
/* rgb */ color: rgb(148, 58, 196);
/* oklch */ color: oklch(53.7% 0.209 311.2);
Tailwind
colors: {
  custom: {
    50: '#b878d7',
    500: '#943ac4',
    950: '#000000',
  },
}
SCSS
$custom: #943ac4;
$custom-light: #b878d7;
$custom-dark: #000000;
JSON
{
  "hex": "#943ac4",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 279.13,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.20931,
    "h": 311.2
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#943AC4
secondary
#A3CC8E
accent
#DE4A7D
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #943AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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