#943CCC#943CCC

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

Color values

HEX#943CCC
RGBrgb(148, 60, 204)
HSLhsl(277, 59%, 52%)
HSVhsv(277, 71%, 80%)
CMYKcmyk(27.5%, 70.6%, 0%, 20%)
CIE-LABlab(44.07, 60.25, -59.01)
CIE-LCHlch(44.07, 84.34, 315.60°)
OKLaboklab(54.46% 0.1347 -0.1672)
OKLCHoklch(54.46% 0.215 308.9)
XYZxyz(24.7255, 13.8877, 58.4931)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943CCC #74CC3C
analogous
#4C3CCC #943CCC #CC3CBC
triadic
#943CCC #CC943C #3CCC94
tetradic
#943CCC #CC4C3C #74CC3C #3CBCCC
square
#943CCC #CC4C3C #74CC3C #3CBCCC
split-complementary
#943CCC #BCCC3C #3CCC4C
monochromatic
#501D70 #732AA1 #943CCC #AF6DD9 #C99DE5

Accessibility & contrast

On white

5.56
#943CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#943CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943CCC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943CCC#FFFFFF#000000##FFFFFF
##943CCC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#1969C9
Tritanopia (blue-blind)
#8C5C80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943ccc;
/* rgb */ color: rgb(148, 60, 204);
/* oklch */ color: oklch(54.5% 0.215 308.9);
Tailwind
colors: {
  custom: {
    50: '#b879dc',
    500: '#943ccc',
    950: '#000000',
  },
}
SCSS
$custom: #943ccc;
$custom-light: #b879dc;
$custom-dark: #000000;
JSON
{
  "hex": "#943ccc",
  "rgb": {
    "r": 148,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 276.667,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.21471,
    "h": 308.9
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #943CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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