#943DCB#943DCB

#943DCB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.213 H 309.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#943DCB
RGBrgb(148, 61, 203)
HSLhsl(277, 58%, 52%)
HSVhsv(277, 70%, 80%)
CMYKcmyk(27.1%, 70%, 0%, 20.4%)
CIE-LABlab(44.15, 59.61, -58.30)
CIE-LCHlch(44.15, 83.38, 315.64°)
OKLaboklab(54.49% 0.1338 -0.1651)
OKLCHoklch(54.49% 0.213 309)
XYZxyz(24.6588, 13.9456, 57.8811)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943DCB #74CB3D
analogous
#4D3DCB #943DCB #CB3DBB
triadic
#943DCB #CB943D #3DCB94
tetradic
#943DCB #CB4D3D #74CB3D #3DBBCB
square
#943DCB #CB4D3D #74CB3D #3DBBCB
split-complementary
#943DCB #BBCB3D #3DCB4D
monochromatic
#501E70 #732BA0 #943DCB #AF6DD8 #C99EE5

Accessibility & contrast

On white

5.54
#943DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#943DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943DCB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943DCB#FFFFFF#000000##FFFFFF
##943DCB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#1E69C8
Tritanopia (blue-blind)
#8C5D80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943dcb;
/* rgb */ color: rgb(148, 61, 203);
/* oklch */ color: oklch(54.5% 0.213 309.0);
Tailwind
colors: {
  custom: {
    50: '#b87adc',
    500: '#943dcb',
    950: '#000000',
  },
}
SCSS
$custom: #943dcb;
$custom-light: #b87adc;
$custom-dark: #000000;
JSON
{
  "hex": "#943dcb",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 276.761,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.21253,
    "h": 309
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#943DCB
secondary
#ABD193
accent
#E14783
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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