#5D4FF8#5D4FF8

#5D4FF8 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 55.0% C 0.240 H 278.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D4FF8
RGBrgb(93, 79, 248)
HSLhsl(245, 92%, 64%)
HSVhsv(245, 68%, 97%)
CMYKcmyk(62.5%, 68.1%, 0%, 2.7%)
CIE-LABlab(45.21, 53.27, -82.40)
CIE-LCHlch(45.21, 98.12, 302.88°)
OKLaboklab(55.04% 0.0363 -0.2377)
OKLCHoklch(55.04% 0.24 278.7)
XYZxyz(24.2480, 14.6945, 90.3473)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FF8 #EAF84F
analogous
#4F96F8 #5D4FF8 #B14FF8
triadic
#5D4FF8 #F85D4F #4FF85D
tetradic
#5D4FF8 #F84F96 #EAF84F #4FF8B1
square
#5D4FF8 #F84F96 #EAF84F #4FF8B1
split-complementary
#5D4FF8 #F8B14F #96F84F
monochromatic
#1708C5 #2714F6 #5D4FF8 #938AFA #C9C5FD

Accessibility & contrast

On white

5.33
#5D4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5D4FF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FF8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FF8#FFFFFF#000000##FFFFFF
##5D4FF81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FD
Deuteranopia (green-blind)
#0064F5
Tritanopia (blue-blind)
#007C9E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d4ff8;
/* rgb */ color: rgb(93, 79, 248);
/* oklch */ color: oklch(55.0% 0.240 278.7);
Tailwind
colors: {
  custom: {
    50: '#9c82fc',
    500: '#5d4ff8',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ff8;
$custom-light: #9c82fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ff8",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 244.97,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55036,
    "c": 0.24045,
    "h": 278.7
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#5D4FF8
secondary
#EAEFB4
accent
#E600D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5D4FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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