#5D4EE7#5D4EE7

#5D4EE7 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.221 H 280.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5D4EE7
RGBrgb(93, 78, 231)
HSLhsl(246, 76%, 61%)
HSVhsv(246, 66%, 91%)
CMYKcmyk(59.7%, 66.2%, 0%, 9.4%)
CIE-LABlab(43.57, 48.62, -75.52)
CIE-LCHlch(43.57, 89.82, 302.77°)
OKLaboklab(53.41% 0.0393 -0.2175)
OKLCHoklch(53.41% 0.221 280.3)
XYZxyz(21.6578, 13.5439, 77.0588)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EE7 #D8E74E
analogous
#4E8CE7 #5D4EE7 #A94EE7
triadic
#5D4EE7 #E75D4E #4EE75D
tetradic
#5D4EE7 #E74E8C #D8E74E #4EE7A9
square
#5D4EE7 #E74E8C #D8E74E #4EE7A9
split-complementary
#5D4EE7 #E7A94E #8CE74E
monochromatic
#2416A4 #301EDA #5D4EE7 #8E84EE #C0BAF6

Accessibility & contrast

On white

5.66
#5D4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5D4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EE7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EE7#FFFFFF#000000##FFFFFF
##5D4EE71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d4ee7;
/* rgb */ color: rgb(93, 78, 231);
/* oklch */ color: oklch(53.4% 0.221 280.3);
Tailwind
colors: {
  custom: {
    50: '#9981f0',
    500: '#5d4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ee7;
$custom-light: #9981f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ee7",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 245.882,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.22108,
    "h": 280.3
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#5D4EE7
secondary
#E0E5AB
accent
#D80DC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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