#5E3FCD#5E3FCD

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

Color values

HEX#5E3FCD
RGBrgb(94, 63, 205)
HSLhsl(253, 59%, 53%)
HSVhsv(253, 69%, 80%)
CMYKcmyk(54.1%, 69.3%, 0%, 19.6%)
CIE-LABlab(38.45, 49.27, -69.01)
CIE-LCHlch(38.45, 84.79, 305.52°)
OKLaboklab(49.08% 0.057 -0.1984)
OKLCHoklch(49.08% 0.206 286)
XYZxyz(17.4097, 10.3415, 58.8245)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FCD #AECD3F
analogous
#3F67CD #5E3FCD #A53FCD
triadic
#5E3FCD #CD5E3F #3FCD5E
tetradic
#5E3FCD #CD3F67 #AECD3F #3FCDA5
square
#5E3FCD #CD3F67 #AECD3F #3FCDA5
split-complementary
#5E3FCD #CDA53F #67CD3F
monochromatic
#311E74 #452BA4 #5E3FCD #8770DA #AFA0E6

Accessibility & contrast

On white

6.84
#5E3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E3FCD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FCD#FFFFFF#000000##FFFFFF
##5E3FCD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#2E6481
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3fcd;
/* rgb */ color: rgb(94, 63, 205);
/* oklch */ color: oklch(49.1% 0.206 286.0);
Tailwind
colors: {
  custom: {
    50: '#9677dd',
    500: '#5e3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fcd;
$custom-light: #9677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fcd",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 253.099,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.20643,
    "h": 286
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#5E3FCD
secondary
#C5D395
accent
#E246C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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