#5E4CD7#5E4CD7

#5E4CD7 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.203 H 282.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5E4CD7
RGBrgb(94, 76, 215)
HSLhsl(248, 63%, 57%)
HSVhsv(248, 65%, 84%)
CMYKcmyk(56.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(41.93, 45.02, -69.09)
CIE-LCHlch(41.93, 82.46, 303.09°)
OKLaboklab(51.84% 0.0442 -0.1986)
OKLCHoklch(51.84% 0.204 282.5)
XYZxyz(19.4625, 12.4536, 65.6550)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CD7 #C5D74C
analogous
#4C80D7 #5E4CD7 #A44CD7
triadic
#5E4CD7 #D75E4C #4CD75E
tetradic
#5E4CD7 #D74C80 #C5D74C #4CD7A4
square
#5E4CD7 #D74C80 #C5D74C #4CD7A4
split-complementary
#5E4CD7 #D7A44C #80D74C
monochromatic
#2D1F8A #3D2ABC #5E4CD7 #8B7EE2 #B8B0ED

Accessibility & contrast

On white

6.02
#5E4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5E4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CD7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CD7#FFFFFF#000000##FFFFFF
##5E4CD71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#1F6F8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e4cd7;
/* rgb */ color: rgb(94, 76, 215);
/* oklch */ color: oklch(51.8% 0.203 282.5);
Tailwind
colors: {
  custom: {
    50: '#977fe4',
    500: '#5e4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cd7;
$custom-light: #977fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cd7",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 247.77,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.2035,
    "h": 282.5
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#5E4CD7
secondary
#D4DCA3
accent
#E641D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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