#943FC2#943FC2

#943FC2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.201 H 311.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#943FC2
RGBrgb(148, 63, 194)
HSLhsl(279, 52%, 50%)
HSVhsv(279, 68%, 76%)
CMYKcmyk(23.7%, 67.5%, 0%, 23.9%)
CIE-LABlab(43.87, 56.77, -53.54)
CIE-LCHlch(43.87, 78.04, 316.68°)
OKLaboklab(54.1% 0.1327 -0.1512)
OKLCHoklch(54.1% 0.201 311.3)
XYZxyz(23.7260, 13.7465, 52.4320)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FC2 #6DC23F
analogous
#523FC2 #943FC2 #C23FAF
triadic
#943FC2 #C2943F #3FC294
tetradic
#943FC2 #C2523F #6DC23F #3FAFC2
square
#943FC2 #C2523F #6DC23F #3FAFC2
split-complementary
#943FC2 #AFC23F #3FC252
monochromatic
#4E2066 #712F95 #943FC2 #AE6DD1 #C89CE0

Accessibility & contrast

On white

5.60
#943FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#943FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FC2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FC2#FFFFFF#000000##FFFFFF
##943FC21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#8E5A7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943fc2;
/* rgb */ color: rgb(148, 63, 194);
/* oklch */ color: oklch(54.1% 0.201 311.3);
Tailwind
colors: {
  custom: {
    50: '#b77ad5',
    500: '#943fc2',
    950: '#000000',
  },
}
SCSS
$custom: #943fc2;
$custom-light: #b77ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#943fc2",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 278.931,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.20111,
    "h": 311.3
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#943FC2
secondary
#A6CC91
accent
#DB4D7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #943FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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