#5E3FD8#5E3FD8

#5E3FD8 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.219 H 284.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5E3FD8
RGBrgb(94, 63, 216)
HSLhsl(252, 66%, 55%)
HSVhsv(252, 71%, 85%)
CMYKcmyk(56.5%, 70.8%, 0%, 15.3%)
CIE-LABlab(39.40, 52.46, -73.80)
CIE-LCHlch(39.40, 90.55, 305.41°)
OKLaboklab(50.05% 0.0549 -0.2125)
OKLCHoklch(50.05% 0.219 284.5)
XYZxyz(18.7845, 10.8914, 66.0649)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FD8 #B9D83F
analogous
#3F6CD8 #5E3FD8 #AB3FD8
triadic
#5E3FD8 #D85E3F #3FD85E
tetradic
#5E3FD8 #D83F6C #B9D83F #3FD8AB
square
#5E3FD8 #D83F6C #B9D83F #3FD8AB
split-complementary
#5E3FD8 #D8AB3F #6CD83F
monochromatic
#2F1A82 #4225B5 #5E3FD8 #8972E2 #B3A5ED

Accessibility & contrast

On white

6.61
#5E3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5E3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FD8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FD8#FFFFFF#000000##FFFFFF
##5E3FD81.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#1F6887
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e3fd8;
/* rgb */ color: rgb(94, 63, 216);
/* oklch */ color: oklch(50.0% 0.219 284.5);
Tailwind
colors: {
  custom: {
    50: '#9877e5',
    500: '#5e3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fd8;
$custom-light: #9877e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fd8",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 252.157,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.21944,
    "h": 284.5
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#5E3FD8
secondary
#CDDA99
accent
#E93FC7
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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