#5D4FCE#5D4FCE

#5D4FCE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.189 H 282.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5D4FCE
RGBrgb(93, 79, 206)
HSLhsl(247, 56%, 56%)
HSVhsv(247, 62%, 81%)
CMYKcmyk(54.9%, 61.7%, 0%, 19.2%)
CIE-LABlab(41.80, 40.33, -64.12)
CIE-LCHlch(41.80, 75.75, 302.17°)
OKLaboklab(51.51% 0.0409 -0.1841)
OKLCHoklch(51.51% 0.189 282.5)
XYZxyz(18.4473, 12.3742, 59.7970)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FCE #C0CE4F
analogous
#4F80CE #5D4FCE #9C4FCE
triadic
#5D4FCE #CE5D4F #4FCE5D
tetradic
#5D4FCE #CE4F80 #C0CE4F #4FCE9C
square
#5D4FCE #CE4F80 #C0CE4F #4FCE9C
split-complementary
#5D4FCE #CE9C4F #80CE4F
monochromatic
#2E237F #3F31AF #5D4FCE #897FDB #B5AFE9

Accessibility & contrast

On white

6.04
#5D4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D4FCE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FCE#FFFFFF#000000##FFFFFF
##5D4FCE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#286E87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4fce;
/* rgb */ color: rgb(93, 79, 206);
/* oklch */ color: oklch(51.5% 0.189 282.5);
Tailwind
colors: {
  custom: {
    50: '#9581de',
    500: '#5d4fce',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fce;
$custom-light: #9581de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fce",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 246.614,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.18855,
    "h": 282.5
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#5D4FCE
secondary
#D1D7A2
accent
#E048CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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