#5D4FE7#5D4FE7

#5D4FE7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.220 H 280.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5D4FE7
RGBrgb(93, 79, 231)
HSLhsl(246, 76%, 61%)
HSVhsv(246, 66%, 91%)
CMYKcmyk(59.7%, 65.8%, 0%, 9.4%)
CIE-LABlab(43.78, 48.06, -75.18)
CIE-LCHlch(43.78, 89.23, 302.59°)
OKLaboklab(53.56% 0.0385 -0.2165)
OKLCHoklch(53.56% 0.22 280.1)
XYZxyz(21.7294, 13.6871, 77.0826)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FE7 #D9E74F
analogous
#4F8DE7 #5D4FE7 #A94FE7
triadic
#5D4FE7 #E75D4F #4FE75D
tetradic
#5D4FE7 #E74F8D #D9E74F #4FE7A9
square
#5D4FE7 #E74F8D #D9E74F #4FE7A9
split-complementary
#5D4FE7 #E7A94F #8DE74F
monochromatic
#2417A5 #2F1EDB #5D4FE7 #8F85EE #C0BBF6

Accessibility & contrast

On white

5.62
#5D4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5D4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FE7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FE7#FFFFFF#000000##FFFFFF
##5D4FE71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d4fe7;
/* rgb */ color: rgb(93, 79, 231);
/* oklch */ color: oklch(53.6% 0.220 280.1);
Tailwind
colors: {
  custom: {
    50: '#9982f0',
    500: '#5d4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fe7;
$custom-light: #9982f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fe7",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 245.526,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.21994,
    "h": 280.1
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#5D4FE7
secondary
#E0E6AC
accent
#D80DC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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