#5D4FD7#5D4FD7

#5D4FD7 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.200 H 281.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5D4FD7
RGBrgb(93, 79, 215)
HSLhsl(246, 63%, 58%)
HSVhsv(246, 63%, 84%)
CMYKcmyk(56.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(42.50, 43.12, -68.17)
CIE-LCHlch(42.50, 80.66, 302.31°)
OKLaboklab(52.24% 0.0402 -0.196)
OKLCHoklch(52.24% 0.2 281.6)
XYZxyz(19.5721, 12.8241, 65.7208)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FD7 #C9D74F
analogous
#4F85D7 #5D4FD7 #A14FD7
triadic
#5D4FD7 #D75D4F #4FD75D
tetradic
#5D4FD7 #D74F85 #C9D74F #4FD7A1
square
#5D4FD7 #D74F85 #C9D74F #4FD7A1
split-complementary
#5D4FD7 #D7A14F #85D74F
monochromatic
#2B208C #3A2BBE #5D4FD7 #8B81E2 #B9B3EE

Accessibility & contrast

On white

5.89
#5D4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5D4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FD7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FD7#FFFFFF#000000##FFFFFF
##5D4FD71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#19718C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4fd7;
/* rgb */ color: rgb(93, 79, 215);
/* oklch */ color: oklch(52.2% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#9681e4',
    500: '#5d4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fd7;
$custom-light: #9681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fd7",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 246.176,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.20004,
    "h": 281.6
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

primary
#5D4FD7
secondary
#D7DCA6
accent
#E642D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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