#5E4CF6#5E4CF6

#5E4CF6 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.5% C 0.241 H 279.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5E4CF6
RGBrgb(94, 76, 246)
HSLhsl(246, 90%, 63%)
HSVhsv(246, 69%, 96%)
CMYKcmyk(61.8%, 69.1%, 0%, 3.5%)
CIE-LABlab(44.52, 54.42, -82.41)
CIE-LCHlch(44.52, 98.76, 303.44°)
OKLaboklab(54.51% 0.0399 -0.2377)
OKLCHoklch(54.51% 0.241 279.5)
XYZxyz(23.8298, 14.2006, 88.6561)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CF6 #E4F64C
analogous
#4C8FF6 #5E4CF6 #B34CF6
triadic
#5E4CF6 #F65E4C #4CF65E
tetradic
#5E4CF6 #F64C8F #E4F64C #4CF6B3
square
#5E4CF6 #F64C8F #E4F64C #4CF6B3
split-complementary
#5E4CF6 #F6B34C #8FF64C
monochromatic
#1D0ABE #2A12F3 #5E4CF6 #9286F9 #C7C1FC

Accessibility & contrast

On white

5.47
#5E4CF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5E4CF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CF6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CF6#FFFFFF#000000##FFFFFF
##5E4CF61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FB
Deuteranopia (green-blind)
#0063F3
Tritanopia (blue-blind)
#007A9C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e4cf6;
/* rgb */ color: rgb(94, 76, 246);
/* oklch */ color: oklch(54.5% 0.241 279.5);
Tailwind
colors: {
  custom: {
    50: '#9c80fa',
    500: '#5e4cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cf6;
$custom-light: #9c80fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cf6",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 246
  },
  "hsl": {
    "h": 246.353,
    "s": 90.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.24104,
    "h": 279.5
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#5E4CF6
secondary
#E7EDB0
accent
#E600CD
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5E4CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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