#5D4FA7#5D4FA7

#5D4FA7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.136 H 287.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5D4FA7
RGBrgb(93, 79, 167)
HSLhsl(250, 36%, 48%)
HSVhsv(250, 53%, 65%)
CMYKcmyk(44.3%, 52.7%, 0%, 34.5%)
CIE-LABlab(39.09, 28.39, -45.67)
CIE-LCHlch(39.09, 53.78, 301.87°)
OKLaboklab(48.64% 0.041 -0.1298)
OKLCHoklch(48.64% 0.136 287.5)
XYZxyz(14.2832, 10.7086, 37.8661)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FA7 #99A74F
analogous
#4F6DA7 #5D4FA7 #894FA7
triadic
#5D4FA7 #A75D4F #4FA75D
tetradic
#5D4FA7 #A74F6D #99A74F #4FA789
square
#5D4FA7 #A74F6D #99A74F #4FA789
split-complementary
#5D4FA7 #A7894F #6DA74F
monochromatic
#2F2854 #463B7D #5D4FA7 #8175BE #A79FD2

Accessibility & contrast

On white

6.68
#5D4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5D4FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FA7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FA7#FFFFFF#000000##FFFFFF
##5D4FA71.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#265AA5
Tritanopia (blue-blind)
#476273
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d4fa7;
/* rgb */ color: rgb(93, 79, 167);
/* oklch */ color: oklch(48.6% 0.136 287.5);
Tailwind
colors: {
  custom: {
    50: '#8f80c2',
    500: '#5d4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fa7;
$custom-light: #8f80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fa7",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 249.545,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.13614,
    "h": 287.5
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#5D4FA7
secondary
#B8BE93
accent
#CC5CBA
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5D4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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