#5D4FD6#5D4FD6

#5D4FD6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.2% C 0.199 H 281.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5D4FD6
RGBrgb(93, 79, 214)
HSLhsl(246, 62%, 57%)
HSVhsv(246, 63%, 84%)
CMYKcmyk(56.5%, 63.1%, 0%, 16.1%)
CIE-LABlab(42.42, 42.81, -67.72)
CIE-LCHlch(42.42, 80.11, 302.30°)
OKLaboklab(52.15% 0.0403 -0.1946)
OKLCHoklch(52.15% 0.199 281.7)
XYZxyz(19.4440, 12.7729, 65.0461)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FD6 #C8D64F
analogous
#4F85D6 #5D4FD6 #A04FD6
triadic
#5D4FD6 #D65D4F #4FD65D
tetradic
#5D4FD6 #D64F85 #C8D64F #4FD6A0
square
#5D4FD6 #D64F85 #C8D64F #4FD6A0
split-complementary
#5D4FD6 #D6A04F #85D64F
monochromatic
#2B208A #3B2CBC #5D4FD6 #8B81E2 #B8B2ED

Accessibility & contrast

On white

5.91
#5D4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5D4FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FD6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FD6#FFFFFF#000000##FFFFFF
##5D4FD61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#1B708B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4fd6;
/* rgb */ color: rgb(93, 79, 214);
/* oklch */ color: oklch(52.2% 0.199 281.7);
Tailwind
colors: {
  custom: {
    50: '#9681e4',
    500: '#5d4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fd6;
$custom-light: #9681e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fd6",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 246.222,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.19877,
    "h": 281.7
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#5D4FD6
secondary
#D6DCA5
accent
#E543D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5D4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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