#943FD4#943FD4

#943FD4 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.219 H 306.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#943FD4
RGBrgb(148, 63, 212)
HSLhsl(274, 63%, 54%)
HSVhsv(274, 70%, 83%)
CMYKcmyk(30.2%, 70.3%, 0%, 16.9%)
CIE-LABlab(45.09, 60.73, -61.97)
CIE-LCHlch(45.09, 86.77, 314.42°)
OKLaboklab(55.36% 0.1305 -0.1759)
OKLCHoklch(55.36% 0.219 306.6)
XYZxyz(25.8714, 14.6047, 63.7306)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FD4 #7FD43F
analogous
#4A3FD4 #943FD4 #D43FCA
triadic
#943FD4 #D4943F #3FD494
tetradic
#943FD4 #D44A3F #7FD43F #3FCAD4
square
#943FD4 #D44A3F #7FD43F #3FCAD4
split-complementary
#943FD4 #CAD43F #3FD44A
monochromatic
#531C7D #7427AF #943FD4 #B071DF #CCA3EA

Accessibility & contrast

On white

5.36
#943FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#943FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FD4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FD4#FFFFFF#000000##FFFFFF
##943FD41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#056BD1
Tritanopia (blue-blind)
#896185
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #943fd4;
/* rgb */ color: rgb(148, 63, 212);
/* oklch */ color: oklch(55.4% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#b87be2',
    500: '#943fd4',
    950: '#000000',
  },
}
SCSS
$custom: #943fd4;
$custom-light: #b87be2;
$custom-dark: #000000;
JSON
{
  "hex": "#943fd4",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 274.228,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.21907,
    "h": 306.6
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#943FD4
secondary
#B3D798
accent
#E64188
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #943FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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