#5E3FD3#5E3FD3

#5E3FD3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.214 H 285.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5E3FD3
RGBrgb(94, 63, 211)
HSLhsl(253, 63%, 54%)
HSVhsv(253, 70%, 83%)
CMYKcmyk(55.5%, 70.1%, 0%, 17.3%)
CIE-LABlab(38.96, 51.01, -71.64)
CIE-LCHlch(38.96, 87.95, 305.45°)
OKLaboklab(49.61% 0.0559 -0.2061)
OKLCHoklch(49.61% 0.214 285.2)
XYZxyz(18.1479, 10.6368, 62.7122)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FD3 #B4D33F
analogous
#3F6AD3 #5E3FD3 #A83FD3
triadic
#5E3FD3 #D35E3F #3FD35E
tetradic
#5E3FD3 #D33F6A #B4D33F #3FD3A8
square
#5E3FD3 #D33F6A #B4D33F #3FD3A8
split-complementary
#5E3FD3 #D3A83F #6AD33F
monochromatic
#301C7B #4428AD #5E3FD3 #8871DE #B2A3EA

Accessibility & contrast

On white

6.71
#5E3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5E3FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FD3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FD3#FFFFFF#000000##FFFFFF
##5E3FD31.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#276685
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e3fd3;
/* rgb */ color: rgb(94, 63, 211);
/* oklch */ color: oklch(49.6% 0.214 285.2);
Tailwind
colors: {
  custom: {
    50: '#9777e2',
    500: '#5e3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fd3;
$custom-light: #9777e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fd3",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 252.568,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.21356,
    "h": 285.2
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#5E3FD3
secondary
#C9D797
accent
#E642C3
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #5E3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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