#5E3FE8#5E3FE8

#5E3FE8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.238 H 282.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5E3FE8
RGBrgb(94, 63, 232)
HSLhsl(251, 79%, 58%)
HSVhsv(251, 73%, 91%)
CMYKcmyk(59.5%, 72.8%, 0%, 9%)
CIE-LABlab(40.83, 57.09, -80.58)
CIE-LCHlch(40.83, 98.76, 305.32°)
OKLaboklab(51.5% 0.0516 -0.2323)
OKLCHoklch(51.5% 0.238 282.5)
XYZxyz(20.9546, 11.7595, 77.4939)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3FE8 #C9E83F
analogous
#3F74E8 #5E3FE8 #B33FE8
triadic
#5E3FE8 #E85E3F #3FE85E
tetradic
#5E3FE8 #E83F74 #C9E83F #3FE8B3
square
#5E3FE8 #E83F74 #C9E83F #3FE8B3
split-complementary
#5E3FE8 #E8B33F #74E83F
monochromatic
#2B129A #3B19D1 #5E3FE8 #8C76EF #BAACF5

Accessibility & contrast

On white

6.26
#5E3FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E3FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3FE8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3FE8#FFFFFF#000000##FFFFFF
##5E3FE81.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066ED
Deuteranopia (green-blind)
#005AE5
Tritanopia (blue-blind)
#006E90
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e3fe8;
/* rgb */ color: rgb(94, 63, 232);
/* oklch */ color: oklch(51.5% 0.238 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a78f1',
    500: '#5e3fe8',
    950: '#000000',
  },
}
SCSS
$custom: #5e3fe8;
$custom-light: #9a78f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3fe8",
  "rgb": {
    "r": 94,
    "g": 63,
    "b": 232
  },
  "hsl": {
    "h": 251.006,
    "s": 78.605,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.23794,
    "h": 282.5
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#5E3FE8
secondary
#D7E3A0
accent
#F533D1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5E3FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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