#5E4EF6#5E4EF6

#5E4EF6 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.8% C 0.239 H 279.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5E4EF6
RGBrgb(94, 78, 246)
HSLhsl(246, 90%, 64%)
HSVhsv(246, 68%, 96%)
CMYKcmyk(61.8%, 68.3%, 0%, 3.5%)
CIE-LABlab(44.91, 53.34, -81.77)
CIE-LCHlch(44.91, 97.62, 303.12°)
OKLaboklab(54.79% 0.0385 -0.2358)
OKLCHoklch(54.79% 0.239 279.3)
XYZxyz(23.9697, 14.4804, 88.7028)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EF6 #E6F64E
analogous
#4E92F6 #5E4EF6 #B24EF6
triadic
#5E4EF6 #F65E4E #4EF65E
tetradic
#5E4EF6 #F64E92 #E6F64E #4EF6B2
square
#5E4EF6 #F64E92 #E6F64E #4EF6B2
split-complementary
#5E4EF6 #F6B24E #92F64E
monochromatic
#1B0AC0 #2914F3 #5E4EF6 #9388F9 #C8C2FC

Accessibility & contrast

On white

5.39
#5E4EF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5E4EF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EF6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EF6#FFFFFF#000000##FFFFFF
##5E4EF61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FB
Deuteranopia (green-blind)
#0064F3
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e4ef6;
/* rgb */ color: rgb(94, 78, 246);
/* oklch */ color: oklch(54.8% 0.239 279.3);
Tailwind
colors: {
  custom: {
    50: '#9c81fa',
    500: '#5e4ef6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ef6;
$custom-light: #9c81fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ef6",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 246
  },
  "hsl": {
    "h": 245.714,
    "s": 90.323,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.23894,
    "h": 279.3
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#5E4EF6
secondary
#E8EEB2
accent
#E600D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5E4EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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