#5E3FDE#5E3FDE

#5E3FDE is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.226 H 283.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5E3FDE
RGBrgb(94, 63, 222)
HSLhsl(252, 71%, 56%)
HSVhsv(252, 72%, 87%)
CMYKcmyk(57.7%, 71.6%, 0%, 12.9%)
CIE-LABlab(39.93, 54.20, -76.37)
CIE-LCHlch(39.93, 93.65, 305.36°)
OKLaboklab(50.59% 0.0537 -0.22)
OKLCHoklch(50.59% 0.226 283.7)
XYZxyz(19.5744, 11.2074, 70.2249)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FDE #BFDE3F
analogous
#3F6FDE #5E3FDE #AD3FDE
triadic
#5E3FDE #DE5E3F #3FDE5E
tetradic
#5E3FDE #DE3F6F #BFDE3F #3FDEAD
square
#5E3FDE #DE3F6F #BFDE3F #3FDEAD
split-complementary
#5E3FDE #DEAD3F #6FDE3F
monochromatic
#2E188B #4021BF #5E3FDE #8A73E7 #B6A7F0

Accessibility & contrast

On white

6.48
#5E3FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5E3FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FDE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FDE#FFFFFF#000000##FFFFFF
##5E3FDE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#126A8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e3fde;
/* rgb */ color: rgb(94, 63, 222);
/* oklch */ color: oklch(50.6% 0.226 283.7);
Tailwind
colors: {
  custom: {
    50: '#9977ea',
    500: '#5e3fde',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fde;
$custom-light: #9977ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fde",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 251.698,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.22644,
    "h": 283.7
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#5E3FDE
secondary
#D0DD9B
accent
#ED3ACB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E3FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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