#943ACC#943ACC

#943ACC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.217 H 309.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#943ACC
RGBrgb(148, 58, 204)
HSLhsl(277, 59%, 51%)
HSVhsv(277, 72%, 80%)
CMYKcmyk(27.5%, 71.6%, 0%, 20%)
CIE-LABlab(43.77, 61.09, -59.49)
CIE-LCHlch(43.77, 85.28, 315.76°)
OKLaboklab(54.25% 0.1367 -0.1686)
OKLCHoklch(54.25% 0.217 309)
XYZxyz(24.6227, 13.6821, 58.4588)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943ACC #72CC3A
analogous
#4B3ACC #943ACC #CC3ABB
triadic
#943ACC #CC943A #3ACC94
tetradic
#943ACC #CC4B3A #72CC3A #3ABBCC
square
#943ACC #CC4B3A #72CC3A #3ABBCC
split-complementary
#943ACC #BBCC3A #3ACC4B
monochromatic
#4F1D6F #7229A0 #943ACC #AE6BD9 #C99BE5

Accessibility & contrast

On white

5.62
#943ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#943ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943ACC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943ACC#FFFFFF#000000##FFFFFF
##943ACC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#1569C9
Tritanopia (blue-blind)
#8C5B80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #943acc;
/* rgb */ color: rgb(148, 58, 204);
/* oklch */ color: oklch(54.2% 0.217 309.0);
Tailwind
colors: {
  custom: {
    50: '#b878dc',
    500: '#943acc',
    950: '#000000',
  },
}
SCSS
$custom: #943acc;
$custom-light: #b878dc;
$custom-dark: #000000;
JSON
{
  "hex": "#943acc",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 276.986,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.21705,
    "h": 309
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#943ACC
secondary
#A9D191
accent
#E24682
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #943ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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