#943CD4#943CD4

#943CD4 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.223 H 306.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#943CD4
RGBrgb(148, 60, 212)
HSLhsl(275, 64%, 53%)
HSVhsv(275, 72%, 83%)
CMYKcmyk(30.2%, 71.7%, 0%, 16.9%)
CIE-LABlab(44.63, 62.01, -62.71)
CIE-LCHlch(44.63, 88.19, 314.68°)
OKLaboklab(55.03% 0.1335 -0.1781)
OKLCHoklch(55.03% 0.223 306.9)
XYZxyz(25.7097, 14.2814, 63.6768)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943CD4 #7CD43C
analogous
#483CD4 #943CD4 #D43CC8
triadic
#943CD4 #D4943C #3CD494
tetradic
#943CD4 #D4483C #7CD43C #3CC8D4
square
#943CD4 #D4483C #7CD43C #3CC8D4
split-complementary
#943CD4 #C8D43C #3CD448
monochromatic
#521B7B #7426AD #943CD4 #B06EDF #CBA0EA

Accessibility & contrast

On white

5.45
#943CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#943CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943CD4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943CD4#FFFFFF#000000##FFFFFF
##943CD41.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#896085
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #943cd4;
/* rgb */ color: rgb(148, 60, 212);
/* oklch */ color: oklch(55.0% 0.223 306.9);
Tailwind
colors: {
  custom: {
    50: '#b979e2',
    500: '#943cd4',
    950: '#000000',
  },
}
SCSS
$custom: #943cd4;
$custom-light: #b979e2;
$custom-dark: #000000;
JSON
{
  "hex": "#943cd4",
  "rgb": {
    "r": 148,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 274.737,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.22256,
    "h": 306.9
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#943CD4
secondary
#B1D795
accent
#E74187
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #943CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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