#943AC5#943AC5

#943AC5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.210 H 310.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#943AC5
RGBrgb(148, 58, 197)
HSLhsl(279, 55%, 50%)
HSVhsv(279, 71%, 77%)
CMYKcmyk(24.9%, 70.6%, 0%, 22.7%)
CIE-LABlab(43.29, 59.59, -56.22)
CIE-LCHlch(43.29, 81.92, 316.67°)
OKLaboklab(53.75% 0.1376 -0.159)
OKLCHoklch(53.75% 0.21 310.9)
XYZxyz(23.8019, 13.3538, 54.1362)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AC5 #6BC53A
analogous
#4F3AC5 #943AC5 #C53AB0
triadic
#943AC5 #C5943A #3AC594
tetradic
#943AC5 #C54F3A #6BC53A #3AB0C5
square
#943AC5 #C54F3A #6BC53A #3AB0C5
split-complementary
#943AC5 #B0C53A #3AC54F
monochromatic
#4D1E66 #702C96 #943AC5 #AE69D3 #C799E1

Accessibility & contrast

On white

5.72
#943AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#943AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943AC5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AC5#FFFFFF#000000##FFFFFF
##943AC51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#2468C2
Tritanopia (blue-blind)
#8E587C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #943ac5;
/* rgb */ color: rgb(148, 58, 197);
/* oklch */ color: oklch(53.7% 0.210 310.9);
Tailwind
colors: {
  custom: {
    50: '#b878d7',
    500: '#943ac5',
    950: '#000000',
  },
}
SCSS
$custom: #943ac5;
$custom-light: #b878d7;
$custom-dark: #000000;
JSON
{
  "hex": "#943ac5",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 278.849,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.21028,
    "h": 310.9
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#943AC5
secondary
#A4CD8E
accent
#DE4A7E
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #943AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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