#5D4DD7#5D4DD7

#5D4DD7 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.202 H 282.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D4DD7
RGBrgb(93, 77, 215)
HSLhsl(247, 63%, 57%)
HSVhsv(247, 64%, 84%)
CMYKcmyk(56.7%, 64.2%, 0%, 15.7%)
CIE-LABlab(42.06, 44.28, -68.88)
CIE-LCHlch(42.06, 81.88, 302.73°)
OKLaboklab(51.92% 0.042 -0.198)
OKLCHoklch(51.92% 0.202 282)
XYZxyz(19.4300, 12.5400, 65.6734)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DD7 #C7D74D
analogous
#4D82D7 #5D4DD7 #A24DD7
triadic
#5D4DD7 #D75D4D #4DD75D
tetradic
#5D4DD7 #D74D82 #C7D74D #4DD7A2
square
#5D4DD7 #D74D82 #C7D74D #4DD7A2
split-complementary
#5D4DD7 #D7A24D #82D74D
monochromatic
#2C1F8A #3B2ABC #5D4DD7 #8A7FE2 #B8B1ED

Accessibility & contrast

On white

5.99
#5D4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5D4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DD7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DD7#FFFFFF#000000##FFFFFF
##5D4DD71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d4dd7;
/* rgb */ color: rgb(93, 77, 215);
/* oklch */ color: oklch(51.9% 0.202 282.0);
Tailwind
colors: {
  custom: {
    50: '#9680e4',
    500: '#5d4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dd7;
$custom-light: #9680e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dd7",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 246.957,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.20245,
    "h": 282
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#5D4DD7
secondary
#D5DCA4
accent
#E641D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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