#5D4EF2#5D4EF2

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

Color values

HEX#5D4EF2
RGBrgb(93, 78, 242)
HSLhsl(245, 86%, 63%)
HSVhsv(245, 68%, 95%)
CMYKcmyk(61.6%, 67.8%, 0%, 5.1%)
CIE-LABlab(44.50, 51.99, -80.21)
CIE-LCHlch(44.50, 95.58, 302.95°)
OKLaboklab(54.36% 0.0379 -0.2313)
OKLCHoklch(54.36% 0.234 279.3)
XYZxyz(23.2605, 14.1850, 85.4994)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EF2 #E3F24E
analogous
#4E91F2 #5D4EF2 #AF4EF2
triadic
#5D4EF2 #F25D4E #4EF25D
tetradic
#5D4EF2 #F24E91 #E3F24E #4EF2AF
square
#5D4EF2 #F24E91 #E3F24E #4EF2AF
split-complementary
#5D4EF2 #F2AF4E #91F24E
monochromatic
#1D0EB8 #2915EE #5D4EF2 #9187F6 #C5C0FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D4EF2#FFFFFF#000000##FFFFFF
##5D4EF21.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)
#0070F7
Deuteranopia (green-blind)
#0063EF
Tritanopia (blue-blind)
#007A9A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d4ef2;
/* rgb */ color: rgb(93, 78, 242);
/* oklch */ color: oklch(54.4% 0.234 279.3);
Tailwind
colors: {
  custom: {
    50: '#9b81f8',
    500: '#5d4ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ef2;
$custom-light: #9b81f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ef2",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 245.488,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.23437,
    "h": 279.3
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#5D4EF2
secondary
#E6ECB0
accent
#E303CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5D4EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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