#5D4FEA#5D4FEA

#5D4FEA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.224 H 279.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5D4FEA
RGBrgb(93, 79, 234)
HSLhsl(245, 79%, 61%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60.3%, 66.2%, 0%, 8.2%)
CIE-LABlab(44.03, 48.98, -76.47)
CIE-LCHlch(44.03, 90.81, 302.64°)
OKLaboklab(53.82% 0.0382 -0.2203)
OKLCHoklch(53.82% 0.224 279.8)
XYZxyz(22.1568, 13.8580, 79.3332)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FEA #DCEA4F
analogous
#4F8FEA #5D4FEA #AB4FEA
triadic
#5D4FEA #EA5D4F #4FEA5D
tetradic
#5D4FEA #EA4F8F #DCEA4F #4FEAAB
square
#5D4FEA #EA4F8F #DCEA4F #4FEAAB
split-complementary
#5D4FEA #EAAB4F #8FEA4F
monochromatic
#2214AA #2D1BE1 #5D4FEA #8F86F1 #C2BCF7

Accessibility & contrast

On white

5.57
#5D4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5D4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FEA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FEA#FFFFFF#000000##FFFFFF
##5D4FEA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d4fea;
/* rgb */ color: rgb(93, 79, 234);
/* oklch */ color: oklch(53.8% 0.224 279.8);
Tailwind
colors: {
  custom: {
    50: '#9982f2',
    500: '#5d4fea',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fea;
$custom-light: #9982f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fea",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 245.419,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.22361,
    "h": 279.8
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#5D4FEA
secondary
#E2E7AD
accent
#DB0BC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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