#5E43D9#5E43D9

#5E43D9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.7% C 0.216 H 283.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5E43D9
RGBrgb(94, 67, 217)
HSLhsl(251, 66%, 56%)
HSVhsv(251, 69%, 85%)
CMYKcmyk(56.7%, 69.1%, 0%, 14.9%)
CIE-LABlab(40.25, 50.63, -72.98)
CIE-LCHlch(40.25, 88.82, 304.75°)
OKLaboklab(50.69% 0.0516 -0.2101)
OKLCHoklch(50.69% 0.216 283.8)
XYZxyz(19.1438, 11.4026, 66.8243)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43D9 #BED943
analogous
#4373D9 #5E43D9 #A943D9
triadic
#5E43D9 #D95E43 #43D95E
tetradic
#5E43D9 #D94373 #BED943 #43D9A9
square
#5E43D9 #D94373 #BED943 #43D9A9
split-complementary
#5E43D9 #D9A943 #73D943
monochromatic
#2E1B86 #4025B9 #5E43D9 #8A76E3 #B5A9EE

Accessibility & contrast

On white

6.40
#5E43D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E43D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43D9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43D9#FFFFFF#000000##FFFFFF
##5E43D91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#1D6B89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e43d9;
/* rgb */ color: rgb(94, 67, 217);
/* oklch */ color: oklch(50.7% 0.216 283.8);
Tailwind
colors: {
  custom: {
    50: '#9879e6',
    500: '#5e43d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e43d9;
$custom-light: #9879e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43d9",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 250.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.21629,
    "h": 283.8
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#5E43D9
secondary
#D0DB9D
accent
#E93FCB
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E43D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5E43D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva