#5D4FDC#5D4FDC

#5D4FDC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.206 H 281.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5D4FDC
RGBrgb(93, 79, 220)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 64%, 86%)
CMYKcmyk(57.7%, 64.1%, 0%, 13.7%)
CIE-LABlab(42.89, 44.66, -70.38)
CIE-LCHlch(42.89, 83.36, 302.40°)
OKLaboklab(52.64% 0.0397 -0.2025)
OKLCHoklch(52.64% 0.206 281.1)
XYZxyz(20.2244, 13.0851, 69.1562)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FDC #CEDC4F
analogous
#4F87DC #5D4FDC #A34FDC
triadic
#5D4FDC #DC5D4F #4FDC5D
tetradic
#5D4FDC #DC4F87 #CEDC4F #4FDCA3
square
#5D4FDC #DC4F87 #CEDC4F #4FDCA3
split-complementary
#5D4FDC #DCA34F #87DC4F
monochromatic
#291D93 #3727C6 #5D4FDC #8C82E6 #BBB5F0

Accessibility & contrast

On white

5.81
#5D4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5D4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FDC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FDC#FFFFFF#000000##FFFFFF
##5D4FDC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#0B728E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4fdc;
/* rgb */ color: rgb(93, 79, 220);
/* oklch */ color: oklch(52.6% 0.206 281.1);
Tailwind
colors: {
  custom: {
    50: '#9781e8',
    500: '#5d4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fdc;
$custom-light: #9781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fdc",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 245.957,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.20632,
    "h": 281.1
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#5D4FDC
secondary
#DADFA8
accent
#EA3ED9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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