#5E3ECF#5E3ECF

#5E3ECF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.210 H 285.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5E3ECF
RGBrgb(94, 62, 207)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(54.6%, 70%, 0%, 18.8%)
CIE-LABlab(38.43, 50.38, -70.21)
CIE-LCHlch(38.43, 86.41, 305.66°)
OKLaboklab(49.12% 0.0574 -0.2019)
OKLCHoklch(49.12% 0.21 285.9)
XYZxyz(17.5978, 10.3290, 60.0858)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3ECF #AFCF3E
analogous
#3E67CF #5E3ECF #A63ECF
triadic
#5E3ECF #CF5E3E #3ECF5E
tetradic
#5E3ECF #CF3E67 #AFCF3E #3ECFA6
square
#5E3ECF #CF3E67 #AFCF3E #3ECFA6
split-complementary
#5E3ECF #CFA63E #67CF3E
monochromatic
#311D75 #4529A6 #5E3ECF #876FDB #B0A0E7

Accessibility & contrast

On white

6.85
#5E3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5E3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3ECF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3ECF#FFFFFF#000000##FFFFFF
##5E3ECF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#2C6482
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3ecf;
/* rgb */ color: rgb(94, 62, 207);
/* oklch */ color: oklch(49.1% 0.210 285.9);
Tailwind
colors: {
  custom: {
    50: '#9776df',
    500: '#5e3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ecf;
$custom-light: #9776df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ecf",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 253.241,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.20993,
    "h": 285.9
  },
  "luminance": 0.1033
}

Semantic roles & 50–950 ramp

primary
#5E3ECF
secondary
#C6D495
accent
#E344C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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