#5D4FF0#5D4FF0

#5D4FF0 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.3% C 0.231 H 279.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D4FF0
RGBrgb(93, 79, 240)
HSLhsl(245, 84%, 63%)
HSVhsv(245, 67%, 94%)
CMYKcmyk(61.2%, 67.1%, 0%, 5.9%)
CIE-LABlab(44.53, 50.82, -79.03)
CIE-LCHlch(44.53, 93.96, 302.74°)
OKLaboklab(54.34% 0.0374 -0.2278)
OKLCHoklch(54.34% 0.231 279.3)
XYZxyz(23.0333, 14.2086, 83.9499)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FF0 #E2F04F
analogous
#4F92F0 #5D4FF0 #AD4FF0
triadic
#5D4FF0 #F05D4F #4FF05D
tetradic
#5D4FF0 #F04F92 #E2F04F #4FF0AD
square
#5D4FF0 #F04F92 #E2F04F #4FF0AD
split-complementary
#5D4FF0 #F0AD4F #92F04F
monochromatic
#1E0FB5 #2917EB #5D4FF0 #9187F5 #C5C0FA

Accessibility & contrast

On white

5.47
#5D4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5D4FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FF0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FF0#FFFFFF#000000##FFFFFF
##5D4FF01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF5
Deuteranopia (green-blind)
#0063ED
Tritanopia (blue-blind)
#007999
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d4ff0;
/* rgb */ color: rgb(93, 79, 240);
/* oklch */ color: oklch(54.3% 0.231 279.3);
Tailwind
colors: {
  custom: {
    50: '#9a82f6',
    500: '#5d4ff0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ff0;
$custom-light: #9a82f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ff0",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 245.217,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54336,
    "c": 0.23088,
    "h": 279.3
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#5D4FF0
secondary
#E6EBB0
accent
#E105CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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