#5E43D8#5E43D8

#5E43D8 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.6% C 0.215 H 283.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5E43D8
RGBrgb(94, 67, 216)
HSLhsl(251, 66%, 55%)
HSVhsv(251, 69%, 85%)
CMYKcmyk(56.5%, 69%, 0%, 15.3%)
CIE-LABlab(40.16, 50.34, -72.55)
CIE-LCHlch(40.16, 88.30, 304.75°)
OKLaboklab(50.6% 0.0517 -0.2088)
OKLCHoklch(50.6% 0.215 283.9)
XYZxyz(19.0141, 11.3507, 66.1414)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43D8 #BDD843
analogous
#4373D8 #5E43D8 #A843D8
triadic
#5E43D8 #D85E43 #43D85E
tetradic
#5E43D8 #D84373 #BDD843 #43D8A8
square
#5E43D8 #D84373 #BDD843 #43D8A8
split-complementary
#5E43D8 #D8A843 #73D843
monochromatic
#2F1C85 #4026B8 #5E43D8 #8976E3 #B5A8ED

Accessibility & contrast

On white

6.42
#5E43D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5E43D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43D8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43D8#FFFFFF#000000##FFFFFF
##5E43D81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#1F6A88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e43d8;
/* rgb */ color: rgb(94, 67, 216);
/* oklch */ color: oklch(50.6% 0.215 283.9);
Tailwind
colors: {
  custom: {
    50: '#9879e5',
    500: '#5e43d8',
    950: '#000000',
  },
}
SCSS
$custom: #5e43d8;
$custom-light: #9879e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43d8",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 250.872,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50597,
    "c": 0.2151,
    "h": 283.9
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#5E43D8
secondary
#CFDA9C
accent
#E93FCA
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E43D8

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

Preview Lab → · Contrast checker → · Palette generator →

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