#943BD5#943BD5

#943BD5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.225 H 306.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#943BD5
RGBrgb(148, 59, 213)
HSLhsl(275, 65%, 53%)
HSVhsv(275, 72%, 84%)
CMYKcmyk(30.5%, 72.3%, 0%, 16.5%)
CIE-LABlab(44.56, 62.65, -63.41)
CIE-LCHlch(44.56, 89.14, 314.65°)
OKLaboklab(55% 0.1343 -0.1801)
OKLCHoklch(55% 0.225 306.7)
XYZxyz(25.7844, 14.2282, 64.3259)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BD5 #7CD53B
analogous
#473BD5 #943BD5 #D53BC9
triadic
#943BD5 #D5943B #3BD594
tetradic
#943BD5 #D5473B #7CD53B #3BC9D5
square
#943BD5 #D5473B #7CD53B #3BC9D5
split-complementary
#943BD5 #C9D53B #3BD547
monochromatic
#521A7B #7425AE #943BD5 #B06DE0 #CBA0EB

Accessibility & contrast

On white

5.46
#943BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#943BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BD5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BD5#FFFFFF#000000##FFFFFF
##943BD51.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#896085
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #943bd5;
/* rgb */ color: rgb(148, 59, 213);
/* oklch */ color: oklch(55.0% 0.225 306.7);
Tailwind
colors: {
  custom: {
    50: '#b979e3',
    500: '#943bd5',
    950: '#000000',
  },
}
SCSS
$custom: #943bd5;
$custom-light: #b979e3;
$custom-dark: #000000;
JSON
{
  "hex": "#943bd5",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 274.675,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.22466,
    "h": 306.7
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#943BD5
secondary
#B1D795
accent
#E84087
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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