#5E3FCA#5E3FCA

#5E3FCA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.8% C 0.203 H 286.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5E3FCA
RGBrgb(94, 63, 202)
HSLhsl(253, 57%, 52%)
HSVhsv(253, 69%, 79%)
CMYKcmyk(53.5%, 68.8%, 0%, 20.8%)
CIE-LABlab(38.20, 48.39, -67.69)
CIE-LCHlch(38.20, 83.21, 305.56°)
OKLaboklab(48.82% 0.0575 -0.1945)
OKLCHoklch(48.82% 0.203 286.5)
XYZxyz(17.0511, 10.1981, 56.9356)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FCA #ABCA3F
analogous
#3F66CA #5E3FCA #A33FCA
triadic
#5E3FCA #CA5E3F #3FCA5E
tetradic
#5E3FCA #CA3F66 #ABCA3F #3FCAA3
square
#5E3FCA #CA3F66 #ABCA3F #3FCAA3
split-complementary
#5E3FCA #CAA33F #66CA3F
monochromatic
#311F70 #462CA0 #5E3FCA #866FD7 #AE9FE4

Accessibility & contrast

On white

6.91
#5E3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5E3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FCA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FCA#FFFFFF#000000##FFFFFF
##5E3FCA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#316380
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3fca;
/* rgb */ color: rgb(94, 63, 202);
/* oklch */ color: oklch(48.8% 0.203 286.5);
Tailwind
colors: {
  custom: {
    50: '#9676db',
    500: '#5e3fca',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fca;
$custom-light: #9676db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fca",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 253.381,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.20284,
    "h": 286.5
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#5E3FCA
secondary
#C3D194
accent
#E048BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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