#943BF4#943BF4

#943BF4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.4% C 0.255 H 300.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#943BF4
RGBrgb(148, 59, 244)
HSLhsl(269, 89%, 59%)
HSVhsv(269, 76%, 96%)
CMYKcmyk(39.3%, 75.8%, 0%, 4.3%)
CIE-LABlab(46.92, 69.63, -77.16)
CIE-LCHlch(46.92, 103.93, 312.06°)
OKLaboklab(57.4% 0.1277 -0.2205)
OKLCHoklch(57.4% 0.255 300.1)
XYZxyz(30.1018, 15.9552, 87.0642)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BF4 #9BF43B
analogous
#3B3FF4 #943BF4 #F13BF4
triadic
#943BF4 #F4943B #3BF494
tetradic
#943BF4 #F43B3F #9BF43B #3BF4F1
square
#943BF4 #F43B3F #9BF43B #3BF4F1
split-complementary
#943BF4 #F4F13B #3FF43B
monochromatic
#570AAB #750DE5 #943BF4 #B475F7 #D3AFFB

Accessibility & contrast

On white

5.01
#943BF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#943BF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BF4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BF4#FFFFFF#000000##FFFFFF
##943BF41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF9
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#7D6C96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #943bf4;
/* rgb */ color: rgb(148, 59, 244);
/* oklch */ color: oklch(57.4% 0.255 300.1);
Tailwind
colors: {
  custom: {
    50: '#bb7af9',
    500: '#943bf4',
    950: '#000000',
  },
}
SCSS
$custom: #943bf4;
$custom-light: #bb7af9;
$custom-dark: #000000;
JSON
{
  "hex": "#943bf4",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 244
  },
  "hsl": {
    "h": 268.865,
    "s": 89.372,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.25482,
    "h": 300.1
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#943BF4
secondary
#C7E9A1
accent
#FF2998
background
#FCF7FF
surface
#F8EEFF
border
#D1C9D7
text
#130A17
muted
#827C85

Preview Lab

Preview with #943BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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