#943AD3#943AD3

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

Color values

HEX#943AD3
RGBrgb(148, 58, 211)
HSLhsl(275, 63%, 53%)
HSVhsv(275, 73%, 83%)
CMYKcmyk(29.9%, 72.5%, 0%, 17.3%)
CIE-LABlab(44.27, 62.62, -62.73)
CIE-LCHlch(44.27, 88.63, 314.95°)
OKLaboklab(54.75% 0.1356 -0.1781)
OKLCHoklch(54.75% 0.224 307.3)
XYZxyz(25.4812, 14.0255, 62.9802)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AD3 #79D33A
analogous
#473AD3 #943AD3 #D33AC5
triadic
#943AD3 #D3943A #3AD394
tetradic
#943AD3 #D3473A #79D33A #3AC5D3
square
#943AD3 #D3473A #79D33A #3AC5D3
split-complementary
#943AD3 #C5D33A #3AD347
monochromatic
#521B78 #7426AA #943AD3 #AF6CDE #CA9EE9

Accessibility & contrast

On white

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

On black

3.81
#943AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##943AD3#FFFFFF#000000##FFFFFF
##943AD31.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#895E83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943ad3;
/* rgb */ color: rgb(148, 58, 211);
/* oklch */ color: oklch(54.8% 0.224 307.3);
Tailwind
colors: {
  custom: {
    50: '#b978e1',
    500: '#943ad3',
    950: '#000000',
  },
}
SCSS
$custom: #943ad3;
$custom-light: #b978e1;
$custom-dark: #000000;
JSON
{
  "hex": "#943ad3",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 275.294,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.22383,
    "h": 307.3
  },
  "luminance": 0.14025
}

Semantic roles & 50–950 ramp

primary
#943AD3
secondary
#AFD693
accent
#E74185
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #943AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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