#5E43BC#5E43BC

#5E43BC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.2% C 0.181 H 287.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5E43BC
RGBrgb(94, 67, 188)
HSLhsl(253, 47%, 50%)
HSVhsv(253, 64%, 74%)
CMYKcmyk(50%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.89, 42.06, -60.02)
CIE-LCHlch(37.89, 73.29, 305.02°)
OKLaboklab(48.25% 0.0556 -0.172)
OKLCHoklch(48.25% 0.181 287.9)
XYZxyz(15.6977, 10.0241, 48.6749)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43BC #A1BC43
analogous
#4365BC #5E43BC #9A43BC
triadic
#5E43BC #BC5E43 #43BC5E
tetradic
#5E43BC #BC4365 #A1BC43 #43BC9A
square
#5E43BC #BC4365 #A1BC43 #43BC9A
split-complementary
#5E43BC #BC9A43 #65BC43
monochromatic
#312362 #47338F #5E43BC #8570CC #AB9DDC

Accessibility & contrast

On white

6.99
#5E43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5E43BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43BC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43BC#FFFFFF#000000##FFFFFF
##5E43BC1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#3D6079
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e43bc;
/* rgb */ color: rgb(94, 67, 188);
/* oklch */ color: oklch(48.2% 0.181 287.9);
Tailwind
colors: {
  custom: {
    50: '#9479d1',
    500: '#5e43bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e43bc;
$custom-light: #9479d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43bc",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 253.388,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.18077,
    "h": 287.9
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#5E43BC
secondary
#BCC992
accent
#D751B9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5E43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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