#5E3FCF#5E3FCF

#5E3FCF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.209 H 285.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5E3FCF
RGBrgb(94, 63, 207)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(54.6%, 69.6%, 0%, 18.8%)
CIE-LABlab(38.62, 49.85, -69.89)
CIE-LCHlch(38.62, 85.85, 305.50°)
OKLaboklab(49.26% 0.0566 -0.201)
OKLCHoklch(49.26% 0.209 285.7)
XYZxyz(17.6527, 10.4387, 60.1041)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FCF #B0CF3F
analogous
#3F68CF #5E3FCF #A63FCF
triadic
#5E3FCF #CF5E3F #3FCF5E
tetradic
#5E3FCF #CF3F68 #B0CF3F #3FCFA6
square
#5E3FCF #CF3F68 #B0CF3F #3FCFA6
split-complementary
#5E3FCF #CFA63F #68CF3F
monochromatic
#311E76 #452AA7 #5E3FCF #8770DB #B0A1E7

Accessibility & contrast

On white

6.80
#5E3FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E3FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FCF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FCF#FFFFFF#000000##FFFFFF
##5E3FCF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#2C6582
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e3fcf;
/* rgb */ color: rgb(94, 63, 207);
/* oklch */ color: oklch(49.3% 0.209 285.7);
Tailwind
colors: {
  custom: {
    50: '#9777df',
    500: '#5e3fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fcf;
$custom-light: #9777df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fcf",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 252.917,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.20882,
    "h": 285.7
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#5E3FCF
secondary
#C7D496
accent
#E345C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E3FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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