#5D4CD7#5D4CD7

#5D4CD7 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.204 H 282.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5D4CD7
RGBrgb(93, 76, 215)
HSLhsl(247, 63%, 57%)
HSVhsv(247, 65%, 84%)
CMYKcmyk(56.7%, 64.7%, 0%, 15.7%)
CIE-LABlab(41.85, 44.85, -69.23)
CIE-LCHlch(41.85, 82.49, 302.94°)
OKLaboklab(51.76% 0.0429 -0.1991)
OKLCHoklch(51.76% 0.204 282.2)
XYZxyz(19.3606, 12.4011, 65.6503)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CD7 #C6D74C
analogous
#4C81D7 #5D4CD7 #A24CD7
triadic
#5D4CD7 #D75D4C #4CD75D
tetradic
#5D4CD7 #D74C81 #C6D74C #4CD7A2
square
#5D4CD7 #D74C81 #C6D74C #4CD7A2
split-complementary
#5D4CD7 #D7A24C #81D74C
monochromatic
#2C1F8A #3C2ABC #5D4CD7 #8A7EE2 #B8B0ED

Accessibility & contrast

On white

6.03
#5D4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CD7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CD7#FFFFFF#000000##FFFFFF
##5D4CD71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d4cd7;
/* rgb */ color: rgb(93, 76, 215);
/* oklch */ color: oklch(51.8% 0.204 282.2);
Tailwind
colors: {
  custom: {
    50: '#967fe4',
    500: '#5d4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cd7;
$custom-light: #967fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cd7",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 247.338,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51762,
    "c": 0.20365,
    "h": 282.2
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#5D4CD7
secondary
#D5DCA3
accent
#E641D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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