#5D4EDC#5D4EDC

#5D4EDC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.208 H 281.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5D4EDC
RGBrgb(93, 78, 220)
HSLhsl(246, 67%, 58%)
HSVhsv(246, 65%, 86%)
CMYKcmyk(57.7%, 64.5%, 0%, 13.7%)
CIE-LABlab(42.68, 45.24, -70.73)
CIE-LCHlch(42.68, 83.96, 302.60°)
OKLaboklab(52.49% 0.0406 -0.2035)
OKLCHoklch(52.49% 0.208 281.3)
XYZxyz(20.1528, 12.9419, 69.1323)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EDC #CDDC4E
analogous
#4E86DC #5D4EDC #A44EDC
triadic
#5D4EDC #DC5D4E #4EDC5D
tetradic
#5D4EDC #DC4E86 #CDDC4E #4EDCA4
square
#5D4EDC #DC4E86 #CDDC4E #4EDCA4
split-complementary
#5D4EDC #DCA44E #86DC4E
monochromatic
#291D93 #3827C6 #5D4EDC #8C81E6 #BBB4F0

Accessibility & contrast

On white

5.85
#5D4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5D4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EDC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EDC#FFFFFF#000000##FFFFFF
##5D4EDC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#0C728E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4edc;
/* rgb */ color: rgb(93, 78, 220);
/* oklch */ color: oklch(52.5% 0.208 281.3);
Tailwind
colors: {
  custom: {
    50: '#9781e8',
    500: '#5d4edc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4edc;
$custom-light: #9781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4edc",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 246.338,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.20751,
    "h": 281.3
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#5D4EDC
secondary
#D9DFA7
accent
#EA3ED8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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