#5E3FD6#5E3FD6

#5E3FD6 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.217 H 284.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5E3FD6
RGBrgb(94, 63, 214)
HSLhsl(252, 65%, 54%)
HSVhsv(252, 71%, 84%)
CMYKcmyk(56.1%, 70.6%, 0%, 16.1%)
CIE-LABlab(39.22, 51.88, -72.94)
CIE-LCHlch(39.22, 89.51, 305.42°)
OKLaboklab(49.87% 0.0553 -0.2099)
OKLCHoklch(49.87% 0.217 284.8)
XYZxyz(18.5275, 10.7886, 64.7114)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FD6 #B7D63F
analogous
#3F6CD6 #5E3FD6 #AA3FD6
triadic
#5E3FD6 #D65E3F #3FD65E
tetradic
#5E3FD6 #D63F6C #B7D63F #3FD6AA
square
#5E3FD6 #D63F6C #B7D63F #3FD6AA
split-complementary
#5E3FD6 #D6AA3F #6CD63F
monochromatic
#301B7F #4326B2 #5E3FD6 #8871E1 #B3A4EC

Accessibility & contrast

On white

6.65
#5E3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FD6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FD6#FFFFFF#000000##FFFFFF
##5E3FD61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DA
Deuteranopia (green-blind)
#0058D3
Tritanopia (blue-blind)
#236786
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e3fd6;
/* rgb */ color: rgb(94, 63, 214);
/* oklch */ color: oklch(49.9% 0.217 284.8);
Tailwind
colors: {
  custom: {
    50: '#9877e4',
    500: '#5e3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fd6;
$custom-light: #9877e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fd6",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 252.318,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.21709,
    "h": 284.8
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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