#943AD2#943AD2

#943AD2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.223 H 307.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#943AD2
RGBrgb(148, 58, 210)
HSLhsl(276, 63%, 53%)
HSVhsv(276, 72%, 82%)
CMYKcmyk(29.5%, 72.4%, 0%, 17.6%)
CIE-LABlab(44.20, 62.40, -62.27)
CIE-LCHlch(44.20, 88.15, 315.06°)
OKLaboklab(54.68% 0.1357 -0.1768)
OKLCHoklch(54.68% 0.223 307.5)
XYZxyz(25.3562, 13.9755, 62.3220)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AD2 #78D23A
analogous
#483AD2 #943AD2 #D23AC4
triadic
#943AD2 #D2943A #3AD294
tetradic
#943AD2 #D2483A #78D23A #3AC4D2
square
#943AD2 #D2483A #78D23A #3AC4D2
split-complementary
#943AD2 #C4D23A #3AD248
monochromatic
#511B77 #7326A8 #943AD2 #AF6CDD #CA9EE9

Accessibility & contrast

On white

5.53
#943AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#943AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943AD2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AD2#FFFFFF#000000##FFFFFF
##943AD21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#8A5E83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #943ad2;
/* rgb */ color: rgb(148, 58, 210);
/* oklch */ color: oklch(54.7% 0.223 307.5);
Tailwind
colors: {
  custom: {
    50: '#b978e1',
    500: '#943ad2',
    950: '#000000',
  },
}
SCSS
$custom: #943ad2;
$custom-light: #b978e1;
$custom-dark: #000000;
JSON
{
  "hex": "#943ad2",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 275.526,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.22286,
    "h": 307.5
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#943AD2
secondary
#AED593
accent
#E64285
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #943AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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