#943AC8#943AC8

#943AC8 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.213 H 310.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#943AC8
RGBrgb(148, 58, 200)
HSLhsl(278, 56%, 51%)
HSVhsv(278, 71%, 78%)
CMYKcmyk(26%, 71%, 0%, 21.6%)
CIE-LABlab(43.50, 60.23, -57.63)
CIE-LCHlch(43.50, 83.36, 316.27°)
OKLaboklab(53.96% 0.1372 -0.1631)
OKLCHoklch(53.96% 0.213 310.1)
XYZxyz(24.1491, 13.4927, 55.9646)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AC8 #6EC83A
analogous
#4D3AC8 #943AC8 #C83AB5
triadic
#943AC8 #C8943A #3AC894
tetradic
#943AC8 #C84D3A #6EC83A #3AB5C8
square
#943AC8 #C84D3A #6EC83A #3AB5C8
split-complementary
#943AC8 #B5C83A #3AC84D
monochromatic
#4E1E6A #712B9A #943AC8 #AE6AD5 #C89AE3

Accessibility & contrast

On white

5.68
#943AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#943AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943AC8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AC8#FFFFFF#000000##FFFFFF
##943AC81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#1F68C5
Tritanopia (blue-blind)
#8D5A7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #943ac8;
/* rgb */ color: rgb(148, 58, 200);
/* oklch */ color: oklch(54.0% 0.213 310.1);
Tailwind
colors: {
  custom: {
    50: '#b878d9',
    500: '#943ac8',
    950: '#000000',
  },
}
SCSS
$custom: #943ac8;
$custom-light: #b878d9;
$custom-dark: #000000;
JSON
{
  "hex": "#943ac8",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 278.028,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.21317,
    "h": 310.1
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #943AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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