#5E43DC#5E43DC

#5E43DC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.220 H 283.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5E43DC
RGBrgb(94, 67, 220)
HSLhsl(251, 69%, 56%)
HSVhsv(251, 70%, 86%)
CMYKcmyk(57.3%, 69.5%, 0%, 13.7%)
CIE-LABlab(40.51, 51.51, -74.28)
CIE-LCHlch(40.51, 90.39, 304.74°)
OKLaboklab(50.95% 0.051 -0.2138)
OKLCHoklch(50.95% 0.22 283.4)
XYZxyz(19.5375, 11.5601, 68.8981)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43DC #C1DC43
analogous
#4375DC #5E43DC #AB43DC
triadic
#5E43DC #DC5E43 #43DC5E
tetradic
#5E43DC #DC4375 #C1DC43 #43DCAB
square
#5E43DC #DC4375 #C1DC43 #43DCAB
split-complementary
#5E43DC #DCAB43 #75DC43
monochromatic
#2E1A8B #3F23BE #5E43DC #8A77E6 #B6AAEF

Accessibility & contrast

On white

6.34
#5E43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43DC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43DC#FFFFFF#000000##FFFFFF
##5E43DC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#166C8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e43dc;
/* rgb */ color: rgb(94, 67, 220);
/* oklch */ color: oklch(50.9% 0.220 283.4);
Tailwind
colors: {
  custom: {
    50: '#987ae8',
    500: '#5e43dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e43dc;
$custom-light: #987ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43dc",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 250.588,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.21985,
    "h": 283.4
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#5E43DC
secondary
#D2DD9E
accent
#EB3CCD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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