#943FD5#943FD5

#943FD5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.220 H 306.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#943FD5
RGBrgb(148, 63, 213)
HSLhsl(274, 64%, 54%)
HSVhsv(274, 70%, 84%)
CMYKcmyk(30.5%, 70.4%, 0%, 16.5%)
CIE-LABlab(45.16, 60.95, -62.43)
CIE-LCHlch(45.16, 87.25, 314.31°)
OKLaboklab(55.43% 0.1304 -0.1773)
OKLCHoklch(55.43% 0.22 306.3)
XYZxyz(25.9979, 14.6553, 64.3970)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FD5 #80D53F
analogous
#493FD5 #943FD5 #D53FCB
triadic
#943FD5 #D5943F #3FD594
tetradic
#943FD5 #D5493F #80D53F #3FCBD5
square
#943FD5 #D5493F #80D53F #3FCBD5
split-complementary
#943FD5 #CBD53F #3FD549
monochromatic
#531C7E #7527B0 #943FD5 #B071E0 #CCA3EB

Accessibility & contrast

On white

5.34
#943FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#943FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FD5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FD5#FFFFFF#000000##FFFFFF
##943FD51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#896286
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #943fd5;
/* rgb */ color: rgb(148, 63, 213);
/* oklch */ color: oklch(55.4% 0.220 306.3);
Tailwind
colors: {
  custom: {
    50: '#b97be3',
    500: '#943fd5',
    950: '#000000',
  },
}
SCSS
$custom: #943fd5;
$custom-light: #b97be3;
$custom-dark: #000000;
JSON
{
  "hex": "#943fd5",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 274,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.22007,
    "h": 306.3
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#943FD5
secondary
#B4D898
accent
#E74189
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #943FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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