#5E3ECD#5E3ECD

#5E3ECD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.208 H 286.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5E3ECD
RGBrgb(94, 62, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.1%, 69.8%, 0%, 19.6%)
CIE-LABlab(38.26, 49.80, -69.33)
CIE-LCHlch(38.26, 85.36, 305.69°)
OKLaboklab(48.94% 0.0578 -0.1993)
OKLCHoklch(48.94% 0.208 286.2)
XYZxyz(17.3549, 10.2318, 58.8062)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3ECD #ADCD3E
analogous
#3E65CD #5E3ECD #A63ECD
triadic
#5E3ECD #CD5E3E #3ECD5E
tetradic
#5E3ECD #CD3E65 #ADCD3E #3ECDA6
square
#5E3ECD #CD3E65 #ADCD3E #3ECDA6
split-complementary
#5E3ECD #CDA63E #65CD3E
monochromatic
#311E73 #452AA3 #5E3ECD #876FDA #AF9FE6

Accessibility & contrast

On white

6.89
#5E3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3ECD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3ECD#FFFFFF#000000##FFFFFF
##5E3ECD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.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: #5e3ecd;
/* rgb */ color: rgb(94, 62, 205);
/* oklch */ color: oklch(48.9% 0.208 286.2);
Tailwind
colors: {
  custom: {
    50: '#9676dd',
    500: '#5e3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ecd;
$custom-light: #9676dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ecd",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 253.427,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48944,
    "c": 0.20755,
    "h": 286.2
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#5E3ECD
secondary
#C5D394
accent
#E246BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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