#943ECC#943ECC

#943ECC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.212 H 308.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#943ECC
RGBrgb(148, 62, 204)
HSLhsl(276, 58%, 52%)
HSVhsv(276, 70%, 80%)
CMYKcmyk(27.5%, 69.6%, 0%, 20%)
CIE-LABlab(44.38, 59.39, -58.52)
CIE-LCHlch(44.38, 83.38, 315.42°)
OKLaboklab(54.68% 0.1327 -0.1658)
OKLCHoklch(54.68% 0.212 308.7)
XYZxyz(24.8322, 14.1012, 58.5287)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943ECC #76CC3E
analogous
#4D3ECC #943ECC #CC3EBD
triadic
#943ECC #CC943E #3ECC94
tetradic
#943ECC #CC4D3E #76CC3E #3EBDCC
square
#943ECC #CC4D3E #76CC3E #3EBDCC
split-complementary
#943ECC #BDCC3E #3ECC4D
monochromatic
#511E72 #732BA2 #943ECC #AF6ED9 #CA9FE6

Accessibility & contrast

On white

5.50
#943ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#943ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943ECC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943ECC#FFFFFF#000000##FFFFFF
##943ECC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#1D6AC9
Tritanopia (blue-blind)
#8B5E81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943ecc;
/* rgb */ color: rgb(148, 62, 204);
/* oklch */ color: oklch(54.7% 0.212 308.7);
Tailwind
colors: {
  custom: {
    50: '#b87adc',
    500: '#943ecc',
    950: '#000000',
  },
}
SCSS
$custom: #943ecc;
$custom-light: #b87adc;
$custom-dark: #000000;
JSON
{
  "hex": "#943ecc",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 276.338,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.2123,
    "h": 308.7
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#943ECC
secondary
#ACD294
accent
#E14684
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #943ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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