#943BD4#943BD4

#943BD4 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.224 H 306.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#943BD4
RGBrgb(148, 59, 212)
HSLhsl(275, 64%, 53%)
HSVhsv(275, 72%, 83%)
CMYKcmyk(30.2%, 72.2%, 0%, 16.9%)
CIE-LABlab(44.49, 62.43, -62.95)
CIE-LCHlch(44.49, 88.66, 314.76°)
OKLaboklab(54.93% 0.1344 -0.1788)
OKLCHoklch(54.93% 0.224 306.9)
XYZxyz(25.6578, 14.1776, 63.6595)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BD4 #7BD43B
analogous
#473BD4 #943BD4 #D43BC7
triadic
#943BD4 #D4943B #3BD494
tetradic
#943BD4 #D4473B #7BD43B #3BC7D4
square
#943BD4 #D4473B #7BD43B #3BC7D4
split-complementary
#943BD4 #C7D43B #3BD447
monochromatic
#521B7A #7426AC #943BD4 #AF6DDF #CB9FEA

Accessibility & contrast

On white

5.48
#943BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#943BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BD4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BD4#FFFFFF#000000##FFFFFF
##943BD41.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#895F84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943bd4;
/* rgb */ color: rgb(148, 59, 212);
/* oklch */ color: oklch(54.9% 0.224 306.9);
Tailwind
colors: {
  custom: {
    50: '#b979e2',
    500: '#943bd4',
    950: '#000000',
  },
}
SCSS
$custom: #943bd4;
$custom-light: #b979e2;
$custom-dark: #000000;
JSON
{
  "hex": "#943bd4",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 274.902,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.22368,
    "h": 306.9
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#943BD4
secondary
#B0D694
accent
#E74186
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #943BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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