#943AC7#943AC7

#943AC7 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.212 H 310.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#943AC7
RGBrgb(148, 58, 199)
HSLhsl(278, 56%, 50%)
HSVhsv(278, 71%, 78%)
CMYKcmyk(25.6%, 70.9%, 0%, 22%)
CIE-LABlab(43.43, 60.02, -57.16)
CIE-LCHlch(43.43, 82.88, 316.40°)
OKLaboklab(53.89% 0.1374 -0.1617)
OKLCHoklch(53.89% 0.212 310.3)
XYZxyz(24.0326, 13.4461, 55.3511)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AC7 #6DC73A
analogous
#4D3AC7 #943AC7 #C73AB3
triadic
#943AC7 #C7943A #3AC794
tetradic
#943AC7 #C74D3A #6DC73A #3AB3C7
square
#943AC7 #C74D3A #6DC73A #3AB3C7
split-complementary
#943AC7 #B3C73A #3AC74D
monochromatic
#4E1E69 #712B98 #943AC7 #AE6AD5 #C899E2

Accessibility & contrast

On white

5.69
#943AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#943AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943AC7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AC7#FFFFFF#000000##FFFFFF
##943AC71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#2168C4
Tritanopia (blue-blind)
#8D597D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #943ac7;
/* rgb */ color: rgb(148, 58, 199);
/* oklch */ color: oklch(53.9% 0.212 310.3);
Tailwind
colors: {
  custom: {
    50: '#b878d9',
    500: '#943ac7',
    950: '#000000',
  },
}
SCSS
$custom: #943ac7;
$custom-light: #b878d9;
$custom-dark: #000000;
JSON
{
  "hex": "#943ac7",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 278.298,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.21222,
    "h": 310.3
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#943AC7
secondary
#A6CE8F
accent
#DF497F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #943AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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