#943DD7#943DD7

#943DD7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.4% C 0.224 H 306.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#943DD7
RGBrgb(148, 61, 215)
HSLhsl(274, 66%, 54%)
HSVhsv(274, 72%, 84%)
CMYKcmyk(31.2%, 71.6%, 0%, 15.7%)
CIE-LABlab(45.00, 62.26, -63.84)
CIE-LCHlch(45.00, 89.17, 314.28°)
OKLaboklab(55.36% 0.132 -0.1814)
OKLCHoklch(55.36% 0.224 306)
XYZxyz(26.1445, 14.5399, 65.7060)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943DD7 #80D73D
analogous
#473DD7 #943DD7 #D73DCD
triadic
#943DD7 #D7943D #3DD794
tetradic
#943DD7 #D7473D #80D73D #3DCDD7
square
#943DD7 #D7473D #80D73D #3DCDD7
split-complementary
#943DD7 #CDD73D #3DD747
monochromatic
#531A7F #7525B2 #943DD7 #B070E1 #CCA2EC

Accessibility & contrast

On white

5.37
#943DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#943DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943DD7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943DD7#FFFFFF#000000##FFFFFF
##943DD71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#886186
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #943dd7;
/* rgb */ color: rgb(148, 61, 215);
/* oklch */ color: oklch(55.4% 0.224 306.0);
Tailwind
colors: {
  custom: {
    50: '#b97ae4',
    500: '#943dd7',
    950: '#000000',
  },
}
SCSS
$custom: #943dd7;
$custom-light: #b97ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#943dd7",
  "rgb": {
    "r": 148,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 273.896,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.22437,
    "h": 306
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#943DD7
secondary
#B4D997
accent
#E93F89
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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