#943AD4#943AD4

#943AD4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.225 H 307.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#943AD4
RGBrgb(148, 58, 212)
HSLhsl(275, 64%, 53%)
HSVhsv(275, 73%, 83%)
CMYKcmyk(30.2%, 72.6%, 0%, 16.9%)
CIE-LABlab(44.34, 62.84, -63.18)
CIE-LCHlch(44.34, 89.11, 314.84°)
OKLaboklab(54.83% 0.1354 -0.1795)
OKLCHoklch(54.83% 0.225 307)
XYZxyz(25.6069, 14.0758, 63.6425)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AD4 #7AD43A
analogous
#473AD4 #943AD4 #D43AC7
triadic
#943AD4 #D4943A #3AD494
tetradic
#943AD4 #D4473A #7AD43A #3AC7D4
square
#943AD4 #D4473A #7AD43A #3AC7D4
split-complementary
#943AD4 #C7D43A #3AD447
monochromatic
#521A79 #7425AB #943AD4 #AF6CDF #CB9EEA

Accessibility & contrast

On white

5.50
#943AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #943AD4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AD4#FFFFFF#000000##FFFFFF
##943AD41.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#895F84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943ad4;
/* rgb */ color: rgb(148, 58, 212);
/* oklch */ color: oklch(54.8% 0.225 307.0);
Tailwind
colors: {
  custom: {
    50: '#b978e2',
    500: '#943ad4',
    950: '#000000',
  },
}
SCSS
$custom: #943ad4;
$custom-light: #b978e2;
$custom-dark: #000000;
JSON
{
  "hex": "#943ad4",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 275.065,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.2248,
    "h": 307
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#943AD4
secondary
#AFD694
accent
#E74186
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #943AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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