#5E3FCE#5E3FCE

#5E3FCE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.208 H 285.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5E3FCE
RGBrgb(94, 63, 206)
HSLhsl(253, 59%, 53%)
HSVhsv(253, 69%, 81%)
CMYKcmyk(54.4%, 69.4%, 0%, 19.2%)
CIE-LABlab(38.53, 49.56, -69.45)
CIE-LCHlch(38.53, 85.32, 305.51°)
OKLaboklab(49.17% 0.0568 -0.1997)
OKLCHoklch(49.17% 0.208 285.9)
XYZxyz(17.5308, 10.3900, 59.4623)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FCE #AFCE3F
analogous
#3F67CE #5E3FCE #A53FCE
triadic
#5E3FCE #CE5E3F #3FCE5E
tetradic
#5E3FCE #CE3F67 #AFCE3F #3FCEA5
square
#5E3FCE #CE3F67 #AFCE3F #3FCEA5
split-complementary
#5E3FCE #CEA53F #67CE3F
monochromatic
#311E75 #452AA6 #5E3FCE #8770DA #B0A1E7

Accessibility & contrast

On white

6.82
#5E3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5E3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FCE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FCE#FFFFFF#000000##FFFFFF
##5E3FCE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#2D6482
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e3fce;
/* rgb */ color: rgb(94, 63, 206);
/* oklch */ color: oklch(49.2% 0.208 285.9);
Tailwind
colors: {
  custom: {
    50: '#9677de',
    500: '#5e3fce',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fce;
$custom-light: #9677de;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fce",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 253.007,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.20763,
    "h": 285.9
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#5E3FCE
secondary
#C6D395
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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