#943FC5#943FC5

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

Color values

HEX#943FC5
RGBrgb(148, 63, 197)
HSLhsl(278, 54%, 51%)
HSVhsv(278, 68%, 77%)
CMYKcmyk(24.9%, 68%, 0%, 22.7%)
CIE-LABlab(44.06, 57.42, -54.97)
CIE-LCHlch(44.06, 79.49, 316.25°)
OKLaboklab(54.3% 0.1324 -0.1553)
OKLCHoklch(54.3% 0.204 310.4)
XYZxyz(24.0664, 13.8827, 54.2243)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FC5 #70C53F
analogous
#513FC5 #943FC5 #C53FB3
triadic
#943FC5 #C5943F #3FC594
tetradic
#943FC5 #C5513F #70C53F #3FB3C5
square
#943FC5 #C5513F #70C53F #3FB3C5
split-complementary
#943FC5 #B3C53F #3FC551
monochromatic
#4F206A #722E99 #943FC5 #AE6ED3 #C89DE1

Accessibility & contrast

On white

5.56
#943FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#943FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FC5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FC5#FFFFFF#000000##FFFFFF
##943FC51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2B6AC2
Tritanopia (blue-blind)
#8D5B7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943fc5;
/* rgb */ color: rgb(148, 63, 197);
/* oklch */ color: oklch(54.3% 0.204 310.4);
Tailwind
colors: {
  custom: {
    50: '#b87ad7',
    500: '#943fc5',
    950: '#000000',
  },
}
SCSS
$custom: #943fc5;
$custom-light: #b87ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#943fc5",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 278.06,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.2041,
    "h": 310.4
  },
  "luminance": 0.13882
}

Semantic roles & 50–950 ramp

primary
#943FC5
secondary
#A8CE92
accent
#DD4B80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #943FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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