#943FC4#943FC4

#943FC4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.203 H 310.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#943FC4
RGBrgb(148, 63, 196)
HSLhsl(278, 53%, 51%)
HSVhsv(278, 68%, 77%)
CMYKcmyk(24.5%, 67.9%, 0%, 23.1%)
CIE-LABlab(44.00, 57.21, -54.50)
CIE-LCHlch(44.00, 79.01, 316.39°)
OKLaboklab(54.23% 0.1325 -0.154)
OKLCHoklch(54.23% 0.203 310.7)
XYZxyz(23.9522, 13.8370, 53.6229)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FC4 #6FC43F
analogous
#513FC4 #943FC4 #C43FB1
triadic
#943FC4 #C4943F #3FC494
tetradic
#943FC4 #C4513F #6FC43F #3FB1C4
square
#943FC4 #C4513F #6FC43F #3FB1C4
split-complementary
#943FC4 #B1C43F #3FC451
monochromatic
#4E2068 #712E97 #943FC4 #AE6ED2 #C89DE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##943FC4#FFFFFF#000000##FFFFFF
##943FC41.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)
#0064C8
Deuteranopia (green-blind)
#2D69C1
Tritanopia (blue-blind)
#8E5B7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943fc4;
/* rgb */ color: rgb(148, 63, 196);
/* oklch */ color: oklch(54.2% 0.203 310.7);
Tailwind
colors: {
  custom: {
    50: '#b77ad7',
    500: '#943fc4',
    950: '#000000',
  },
}
SCSS
$custom: #943fc4;
$custom-light: #b77ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#943fc4",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 278.346,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.20311,
    "h": 310.7
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#943FC4
secondary
#A7CD92
accent
#DC4B80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #943FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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