#5D4EDD#5D4EDD

#5D4EDD is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.209 H 281.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5D4EDD
RGBrgb(93, 78, 221)
HSLhsl(246, 68%, 59%)
HSVhsv(246, 65%, 87%)
CMYKcmyk(57.9%, 64.7%, 0%, 13.3%)
CIE-LABlab(42.76, 45.55, -71.17)
CIE-LCHlch(42.76, 84.50, 302.62°)
OKLaboklab(52.57% 0.0405 -0.2048)
OKLCHoklch(52.57% 0.209 281.2)
XYZxyz(20.2857, 12.9950, 69.8319)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EDD #CEDD4E
analogous
#4E86DD #5D4EDD #A44EDD
triadic
#5D4EDD #DD5D4E #4EDD5D
tetradic
#5D4EDD #DD4E86 #CEDD4E #4EDDA4
square
#5D4EDD #DD4E86 #CEDD4E #4EDDA4
split-complementary
#5D4EDD #DDA44E #86DD4E
monochromatic
#291C94 #3726C7 #5D4EDD #8C81E7 #BBB5F1

Accessibility & contrast

On white

5.83
#5D4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5D4EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EDD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EDD#FFFFFF#000000##FFFFFF
##5D4EDD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#08728F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4edd;
/* rgb */ color: rgb(93, 78, 221);
/* oklch */ color: oklch(52.6% 0.209 281.2);
Tailwind
colors: {
  custom: {
    50: '#9781e9',
    500: '#5d4edd',
    950: '#000000',
  },
}
SCSS
$custom: #5d4edd;
$custom-light: #9781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4edd",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 246.294,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.20876,
    "h": 281.2
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#5D4EDD
secondary
#DAE0A7
accent
#EB3DD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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