#943BC2#943BC2

#943BC2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.206 H 311.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#943BC2
RGBrgb(148, 59, 194)
HSLhsl(280, 53%, 50%)
HSVhsv(280, 70%, 76%)
CMYKcmyk(23.7%, 69.6%, 0%, 23.9%)
CIE-LABlab(43.24, 58.53, -54.55)
CIE-LCHlch(43.24, 80.01, 317.01°)
OKLaboklab(53.65% 0.1369 -0.1541)
OKLCHoklch(53.65% 0.206 311.6)
XYZxyz(23.5125, 13.3195, 52.3608)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BC2 #69C23B
analogous
#513BC2 #943BC2 #C23BAC
triadic
#943BC2 #C2943B #3BC294
tetradic
#943BC2 #C2513B #69C23B #3BACC2
square
#943BC2 #C2513B #69C23B #3BACC2
split-complementary
#943BC2 #ACC23B #3BC251
monochromatic
#4C1E64 #702D93 #943BC2 #AE69D1 #C798E0

Accessibility & contrast

On white

5.73
#943BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#943BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BC2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BC2#FFFFFF#000000##FFFFFF
##943BC21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#8E587A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #943bc2;
/* rgb */ color: rgb(148, 59, 194);
/* oklch */ color: oklch(53.6% 0.206 311.6);
Tailwind
colors: {
  custom: {
    50: '#b878d5',
    500: '#943bc2',
    950: '#000000',
  },
}
SCSS
$custom: #943bc2;
$custom-light: #b878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#943bc2",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 279.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.20616,
    "h": 311.6
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#943BC2
secondary
#A3CB8E
accent
#DD4B7D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #943BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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