#943DCC#943DCC

#943DCC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.214 H 308.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#943DCC
RGBrgb(148, 61, 204)
HSLhsl(277, 58%, 52%)
HSVhsv(277, 70%, 80%)
CMYKcmyk(27.5%, 70.1%, 0%, 20%)
CIE-LABlab(44.22, 59.83, -58.77)
CIE-LCHlch(44.22, 83.86, 315.51°)
OKLaboklab(54.57% 0.1337 -0.1665)
OKLCHoklch(54.57% 0.214 308.8)
XYZxyz(24.7784, 13.9934, 58.5107)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943DCC #75CC3D
analogous
#4C3DCC #943DCC #CC3DBD
triadic
#943DCC #CC943D #3DCC94
tetradic
#943DCC #CC4C3D #75CC3D #3DBDCC
square
#943DCC #CC4C3D #75CC3D #3DBDCC
split-complementary
#943DCC #BDCC3D #3DCC4C
monochromatic
#501E71 #732AA1 #943DCC #AF6DD9 #C99EE5

Accessibility & contrast

On white

5.53
#943DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#943DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943DCC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943DCC#FFFFFF#000000##FFFFFF
##943DCC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#8C5D80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943dcc;
/* rgb */ color: rgb(148, 61, 204);
/* oklch */ color: oklch(54.6% 0.214 308.8);
Tailwind
colors: {
  custom: {
    50: '#b87adc',
    500: '#943dcc',
    950: '#000000',
  },
}
SCSS
$custom: #943dcc;
$custom-light: #b87adc;
$custom-dark: #000000;
JSON
{
  "hex": "#943dcc",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 276.503,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.21352,
    "h": 308.8
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#943DCC
secondary
#ACD293
accent
#E24683
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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