#5E43C5#5E43C5

#5E43C5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.192 H 286.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5E43C5
RGBrgb(94, 67, 197)
HSLhsl(252, 53%, 52%)
HSVhsv(252, 66%, 77%)
CMYKcmyk(52.3%, 66%, 0%, 22.7%)
CIE-LABlab(38.59, 44.72, -64.13)
CIE-LCHlch(38.59, 78.18, 304.89°)
OKLaboklab(48.98% 0.0546 -0.1841)
OKLCHoklch(48.98% 0.192 286.5)
XYZxyz(16.6983, 10.4244, 53.9447)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43C5 #AAC543
analogous
#4369C5 #5E43C5 #9F43C5
triadic
#5E43C5 #C55E43 #43C55E
tetradic
#5E43C5 #C54369 #AAC543 #43C59F
square
#5E43C5 #C54369 #AAC543 #43C59F
split-complementary
#5E43C5 #C59F43 #69C543
monochromatic
#31216C #46309B #5E43C5 #8672D3 #AEA1E2

Accessibility & contrast

On white

6.81
#5E43C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E43C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43C5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43C5#FFFFFF#000000##FFFFFF
##5E43C51.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#36637E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e43c5;
/* rgb */ color: rgb(94, 67, 197);
/* oklch */ color: oklch(49.0% 0.192 286.5);
Tailwind
colors: {
  custom: {
    50: '#9579d8',
    500: '#5e43c5',
    950: '#000000',
  },
}
SCSS
$custom: #5e43c5;
$custom-light: #9579d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43c5",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 252.462,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48982,
    "c": 0.19201,
    "h": 286.5
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#5E43C5
secondary
#C3CE95
accent
#DC4CBE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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