#5E3FC0#5E3FC0

#5E3FC0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.191 H 288.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5E3FC0
RGBrgb(94, 63, 192)
HSLhsl(254, 51%, 50%)
HSVhsv(254, 67%, 75%)
CMYKcmyk(51%, 67.2%, 0%, 24.7%)
CIE-LABlab(37.37, 45.48, -63.20)
CIE-LCHlch(37.37, 77.87, 305.74°)
OKLaboklab(47.98% 0.0591 -0.1814)
OKLCHoklch(47.98% 0.191 288)
XYZxyz(15.9052, 9.7397, 50.9008)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FC0 #A1C03F
analogous
#3F60C0 #5E3FC0 #9F3FC0
triadic
#5E3FC0 #C05E3F #3FC05E
tetradic
#5E3FC0 #C03F60 #A1C03F #3FC09F
square
#5E3FC0 #C03F60 #A1C03F #3FC09F
split-complementary
#5E3FC0 #C09F3F #60C03F
monochromatic
#312164 #473092 #5E3FC0 #856DCF #AB9BDE

Accessibility & contrast

On white

7.12
#5E3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5E3FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3FC0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FC0#FFFFFF#000000##FFFFFF
##5E3FC01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#3A5F7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e3fc0;
/* rgb */ color: rgb(94, 63, 192);
/* oklch */ color: oklch(48.0% 0.191 288.0);
Tailwind
colors: {
  custom: {
    50: '#9476d4',
    500: '#5e3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fc0;
$custom-light: #9476d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fc0",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 254.419,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.19073,
    "h": 288
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#5E3FC0
secondary
#BCCA91
accent
#DA4EB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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