#943EC9#943EC9

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

Color values

HEX#943EC9
RGBrgb(148, 62, 201)
HSLhsl(277, 56%, 52%)
HSVhsv(277, 69%, 79%)
CMYKcmyk(26.4%, 69.2%, 0%, 21.2%)
CIE-LABlab(44.17, 58.74, -57.11)
CIE-LCHlch(44.17, 81.92, 315.80°)
OKLaboklab(54.46% 0.133 -0.1616)
OKLCHoklch(54.46% 0.209 309.5)
XYZxyz(24.4759, 13.9587, 56.6519)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943EC9 #73C93E
analogous
#4F3EC9 #943EC9 #C93EB9
triadic
#943EC9 #C9943E #3EC994
tetradic
#943EC9 #C94F3E #73C93E #3EB9C9
square
#943EC9 #C94F3E #73C93E #3EB9C9
split-complementary
#943EC9 #B9C93E #3EC94F
monochromatic
#501F6E #722C9E #943EC9 #AF6ED6 #C99EE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##943EC9#FFFFFF#000000##FFFFFF
##943EC91.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)
#0065CD
Deuteranopia (green-blind)
#236AC6
Tritanopia (blue-blind)
#8C5C7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943ec9;
/* rgb */ color: rgb(148, 62, 201);
/* oklch */ color: oklch(54.5% 0.209 309.5);
Tailwind
colors: {
  custom: {
    50: '#b87ada',
    500: '#943ec9',
    950: '#000000',
  },
}
SCSS
$custom: #943ec9;
$custom-light: #b87ada;
$custom-dark: #000000;
JSON
{
  "hex": "#943ec9",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 277.122,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.20934,
    "h": 309.5
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #943EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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