#5E3FD5#5E3FD5

#5E3FD5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.216 H 284.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5E3FD5
RGBrgb(94, 63, 213)
HSLhsl(252, 64%, 54%)
HSVhsv(252, 70%, 84%)
CMYKcmyk(55.9%, 70.4%, 0%, 16.5%)
CIE-LABlab(39.14, 51.59, -72.51)
CIE-LCHlch(39.14, 88.99, 305.43°)
OKLaboklab(49.78% 0.0555 -0.2087)
OKLCHoklch(49.78% 0.216 284.9)
XYZxyz(18.4002, 10.7377, 64.0409)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FD5 #B6D53F
analogous
#3F6BD5 #5E3FD5 #A93FD5
triadic
#5E3FD5 #D55E3F #3FD55E
tetradic
#5E3FD5 #D53F6B #B6D53F #3FD5A9
square
#5E3FD5 #D53F6B #B6D53F #3FD5A9
split-complementary
#5E3FD5 #D5A93F #6BD53F
monochromatic
#301C7E #4327B0 #5E3FD5 #8871E0 #B2A3EB

Accessibility & contrast

On white

6.67
#5E3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5E3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FD5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FD5#FFFFFF#000000##FFFFFF
##5E3FD51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#246786
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e3fd5;
/* rgb */ color: rgb(94, 63, 213);
/* oklch */ color: oklch(49.8% 0.216 284.9);
Tailwind
colors: {
  custom: {
    50: '#9777e3',
    500: '#5e3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fd5;
$custom-light: #9777e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fd5",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 252.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.21592,
    "h": 284.9
  },
  "luminance": 0.10739
}

Semantic roles & 50–950 ramp

primary
#5E3FD5
secondary
#CBD898
accent
#E741C5
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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