#5E43CF#5E43CF

#5E43CF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.8% C 0.204 H 285.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5E43CF
RGBrgb(94, 67, 207)
HSLhsl(252, 59%, 54%)
HSVhsv(252, 68%, 81%)
CMYKcmyk(54.6%, 67.6%, 0%, 18.8%)
CIE-LABlab(39.41, 47.68, -68.60)
CIE-LCHlch(39.41, 83.54, 304.80°)
OKLaboklab(49.82% 0.0532 -0.1972)
OKLCHoklch(49.82% 0.204 285.1)
XYZxyz(17.8823, 10.8980, 60.1806)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43CF #B4CF43
analogous
#436ECF #5E43CF #A443CF
triadic
#5E43CF #CF5E43 #43CF5E
tetradic
#5E43CF #CF436E #B4CF43 #43CFA4
square
#5E43CF #CF436E #B4CF43 #43CFA4
split-complementary
#5E43CF #CFA443 #6ECF43
monochromatic
#301F79 #442BAA #5E43CF #8874DB #B1A5E8

Accessibility & contrast

On white

6.60
#5E43CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5E43CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43CF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43CF#FFFFFF#000000##FFFFFF
##5E43CF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#2C6784
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e43cf;
/* rgb */ color: rgb(94, 67, 207);
/* oklch */ color: oklch(49.8% 0.204 285.1);
Tailwind
colors: {
  custom: {
    50: '#9679df',
    500: '#5e43cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e43cf;
$custom-light: #9679df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43cf",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 251.571,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.20426,
    "h": 285.1
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#5E43CF
secondary
#C9D599
accent
#E345C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E43CF

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

Preview Lab → · Contrast checker → · Palette generator →

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