#5A4DE4#5A4DE4

#5A4DE4 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.219 H 279.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5A4DE4
RGBrgb(90, 77, 228)
HSLhsl(245, 74%, 60%)
HSVhsv(245, 66%, 89%)
CMYKcmyk(60.5%, 66.2%, 0%, 10.6%)
CIE-LABlab(42.89, 47.83, -74.95)
CIE-LCHlch(42.89, 88.91, 302.54°)
OKLaboklab(52.78% 0.0367 -0.216)
OKLCHoklch(52.78% 0.219 279.6)
XYZxyz(20.8695, 13.0813, 74.8089)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DE4 #D7E44D
analogous
#4D8BE4 #5A4DE4 #A64DE4
triadic
#5A4DE4 #E45A4D #4DE45A
tetradic
#5A4DE4 #E44D8B #D7E44D #4DE4A6
square
#5A4DE4 #E44D8B #D7E44D #4DE4A6
split-complementary
#5A4DE4 #E4A64D #8BE44D
monochromatic
#24189F #3020D4 #5A4DE4 #8B82EC #BDB7F4

Accessibility & contrast

On white

5.81
#5A4DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5A4DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4DE4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DE4#FFFFFF#000000##FFFFFF
##5A4DE41.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a4de4;
/* rgb */ color: rgb(90, 77, 228);
/* oklch */ color: oklch(52.8% 0.219 279.6);
Tailwind
colors: {
  custom: {
    50: '#9780ee',
    500: '#5a4de4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4de4;
$custom-light: #9780ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4de4",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 245.166,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52784,
    "c": 0.21907,
    "h": 279.6
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

primary
#5A4DE4
secondary
#DFE4A9
accent
#F037E0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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