#943ECA#943ECA

#943ECA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.210 H 309.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#943ECA
RGBrgb(148, 62, 202)
HSLhsl(277, 57%, 52%)
HSVhsv(277, 69%, 79%)
CMYKcmyk(26.7%, 69.3%, 0%, 20.8%)
CIE-LABlab(44.24, 58.95, -57.58)
CIE-LCHlch(44.24, 82.41, 315.67°)
OKLaboklab(54.53% 0.1329 -0.163)
OKLCHoklch(54.53% 0.21 309.2)
XYZxyz(24.5939, 14.0059, 57.2735)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943ECA #74CA3E
analogous
#4E3ECA #943ECA #CA3EBA
triadic
#943ECA #CA943E #3ECA94
tetradic
#943ECA #CA4E3E #74CA3E #3EBACA
square
#943ECA #CA4E3E #74CA3E #3EBACA
split-complementary
#943ECA #BACA3E #3ECA4E
monochromatic
#501F6F #732C9F #943ECA #AF6ED7 #C99EE4

Accessibility & contrast

On white

5.52
#943ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #943ECA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943ECA#FFFFFF#000000##FFFFFF
##943ECA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#8C5D80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943eca;
/* rgb */ color: rgb(148, 62, 202);
/* oklch */ color: oklch(54.5% 0.210 309.2);
Tailwind
colors: {
  custom: {
    50: '#b87adb',
    500: '#943eca',
    950: '#000000',
  },
}
SCSS
$custom: #943eca;
$custom-light: #b87adb;
$custom-dark: #000000;
JSON
{
  "hex": "#943eca",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 276.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.21033,
    "h": 309.2
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #943ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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