#5E43D7#5E43D7

#5E43D7 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.214 H 284.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5E43D7
RGBrgb(94, 67, 215)
HSLhsl(251, 65%, 55%)
HSVhsv(251, 69%, 84%)
CMYKcmyk(56.3%, 68.8%, 0%, 15.7%)
CIE-LABlab(40.08, 50.04, -72.11)
CIE-LCHlch(40.08, 87.77, 304.76°)
OKLaboklab(50.51% 0.0519 -0.2075)
OKLCHoklch(50.51% 0.214 284)
XYZxyz(18.8852, 11.2991, 65.4626)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43D7 #BCD743
analogous
#4372D7 #5E43D7 #A843D7
triadic
#5E43D7 #D75E43 #43D75E
tetradic
#5E43D7 #D74372 #BCD743 #43D7A8
square
#5E43D7 #D74372 #BCD743 #43D7A8
split-complementary
#5E43D7 #D7A843 #72D743
monochromatic
#2F1C84 #4127B6 #5E43D7 #8975E2 #B4A8EC

Accessibility & contrast

On white

6.44
#5E43D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5E43D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43D7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43D7#FFFFFF#000000##FFFFFF
##5E43D71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#206A88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e43d7;
/* rgb */ color: rgb(94, 67, 215);
/* oklch */ color: oklch(50.5% 0.214 284.0);
Tailwind
colors: {
  custom: {
    50: '#9779e4',
    500: '#5e43d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e43d7;
$custom-light: #9779e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43d7",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 250.946,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.2139,
    "h": 284
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E43D7

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

Preview Lab → · Contrast checker → · Palette generator →

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