#943BCA#943BCA

#943BCA is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.214 H 309.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#943BCA
RGBrgb(148, 59, 202)
HSLhsl(277, 57%, 51%)
HSVhsv(277, 71%, 79%)
CMYKcmyk(26.7%, 70.8%, 0%, 20.8%)
CIE-LABlab(43.78, 60.24, -58.32)
CIE-LCHlch(43.78, 83.85, 315.93°)
OKLaboklab(54.21% 0.136 -0.1652)
OKLCHoklch(54.21% 0.214 309.5)
XYZxyz(24.4353, 13.6886, 57.2206)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BCA #71CA3B
analogous
#4C3BCA #943BCA #CA3BB8
triadic
#943BCA #CA943B #3BCA94
tetradic
#943BCA #CA4C3B #71CA3B #3BB8CA
square
#943BCA #CA4C3B #71CA3B #3BB8CA
split-complementary
#943BCA #B8CA3B #3BCA4C
monochromatic
#4F1E6D #722B9D #943BCA #AE6BD7 #C99BE4

Accessibility & contrast

On white

5.62
#943BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#943BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BCA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BCA#FFFFFF#000000##FFFFFF
##943BCA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#1C69C7
Tritanopia (blue-blind)
#8C5B7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #943bca;
/* rgb */ color: rgb(148, 59, 202);
/* oklch */ color: oklch(54.2% 0.214 309.5);
Tailwind
colors: {
  custom: {
    50: '#b878db',
    500: '#943bca',
    950: '#000000',
  },
}
SCSS
$custom: #943bca;
$custom-light: #b878db;
$custom-dark: #000000;
JSON
{
  "hex": "#943bca",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 277.343,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.21394,
    "h": 309.5
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#943BCA
secondary
#A9D091
accent
#E14781
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #943BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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