#5D4FEC#5D4FEC

#5D4FEC is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.0% C 0.226 H 279.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D4FEC
RGBrgb(93, 79, 236)
HSLhsl(245, 81%, 62%)
HSVhsv(245, 67%, 93%)
CMYKcmyk(60.6%, 66.5%, 0%, 7.5%)
CIE-LABlab(44.20, 49.59, -77.33)
CIE-LCHlch(44.20, 91.86, 302.67°)
OKLaboklab(53.99% 0.0379 -0.2228)
OKLCHoklch(53.99% 0.226 279.7)
XYZxyz(22.4457, 13.9736, 80.8550)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FEC #DEEC4F
analogous
#4F90EC #5D4FEC #AB4FEC
triadic
#5D4FEC #EC5D4F #4FEC5D
tetradic
#5D4FEC #EC4F90 #DEEC4F #4FECAB
square
#5D4FEC #EC4F90 #DEEC4F #4FECAB
split-complementary
#5D4FEC #ECAB4F #90EC4F
monochromatic
#2113AE #2B19E5 #5D4FEC #9086F2 #C3BDF8

Accessibility & contrast

On white

5.53
#5D4FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D4FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FEC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FEC#FFFFFF#000000##FFFFFF
##5D4FEC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d4fec;
/* rgb */ color: rgb(93, 79, 236);
/* oklch */ color: oklch(54.0% 0.226 279.7);
Tailwind
colors: {
  custom: {
    50: '#9982f3',
    500: '#5d4fec',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fec;
$custom-light: #9982f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fec",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 245.35,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.22604,
    "h": 279.7
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#5D4FEC
secondary
#E3E8AE
accent
#DD09CA
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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