#5E4DFF#5E4DFF

#5E4DFF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.4% C 0.251 H 278.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5E4DFF
RGBrgb(94, 77, 255)
HSLhsl(246, 100%, 65%)
HSVhsv(246, 70%, 100%)
CMYKcmyk(63.1%, 69.8%, 0%, 0%)
CIE-LABlab(45.50, 56.59, -85.82)
CIE-LCHlch(45.50, 102.80, 303.40°)
OKLaboklab(55.45% 0.0378 -0.2477)
OKLCHoklch(55.45% 0.251 278.7)
XYZxyz(25.3142, 14.9054, 96.1314)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DFF #EEFF4D
analogous
#4D95FF #5E4DFF #B74DFF
triadic
#5E4DFF #FF5E4D #4DFF5E
tetradic
#5E4DFF #FF4D95 #EEFF4D #4DFFB7
square
#5E4DFF #FF4D95 #EEFF4D #4DFFB7
split-complementary
#5E4DFF #FFB74D #95FF4D
monochromatic
#1400D2 #2710FF #5E4DFF #958AFF #CDC7FF

Accessibility & contrast

On white

5.27
#5E4DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5E4DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DFF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DFF#FFFFFF#000000##FFFFFF
##5E4DFF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0064FC
Tritanopia (blue-blind)
#007EA1
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e4dff;
/* rgb */ color: rgb(94, 77, 255);
/* oklch */ color: oklch(55.4% 0.251 278.7);
Tailwind
colors: {
  custom: {
    50: '#9d81ff',
    500: '#5e4dff',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dff;
$custom-light: #9d81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dff",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 245.73,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.25055,
    "h": 278.7
  },
  "luminance": 0.14907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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