#5E43BB#5E43BB

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

Color values

HEX#5E43BB
RGBrgb(94, 67, 187)
HSLhsl(254, 47%, 50%)
HSVhsv(254, 64%, 73%)
CMYKcmyk(49.7%, 64.2%, 0%, 26.7%)
CIE-LABlab(37.81, 41.77, -59.56)
CIE-LCHlch(37.81, 72.74, 305.04°)
OKLaboklab(48.17% 0.0557 -0.1706)
OKLCHoklch(48.17% 0.18 288.1)
XYZxyz(15.5903, 9.9812, 48.1092)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43BB #A0BB43
analogous
#4364BB #5E43BB #9A43BB
triadic
#5E43BB #BB5E43 #43BB5E
tetradic
#5E43BB #BB4364 #A0BB43 #43BB9A
square
#5E43BB #BB4364 #A0BB43 #43BB9A
split-complementary
#5E43BB #BB9A43 #64BB43
monochromatic
#312361 #47338E #5E43BB #8470CC #AB9DDC

Accessibility & contrast

On white

7.01
#5E43BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5E43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43BB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43BB#FFFFFF#000000##FFFFFF
##5E43BB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e43bb;
/* rgb */ color: rgb(94, 67, 187);
/* oklch */ color: oklch(48.2% 0.180 288.1);
Tailwind
colors: {
  custom: {
    50: '#9379d0',
    500: '#5e43bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e43bb;
$custom-light: #9379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43bb",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 253.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.17951,
    "h": 288.1
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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