#5A4DF4#5A4DF4

#5A4DF4 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.2% C 0.238 H 278.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5A4DF4
RGBrgb(90, 77, 244)
HSLhsl(245, 88%, 63%)
HSVhsv(245, 68%, 96%)
CMYKcmyk(63.1%, 68.4%, 0%, 4.3%)
CIE-LABlab(44.25, 52.76, -81.75)
CIE-LCHlch(44.25, 97.29, 302.84°)
OKLaboklab(54.18% 0.0345 -0.2359)
OKLCHoklch(54.18% 0.238 278.3)
XYZxyz(23.1942, 14.0112, 87.0526)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DF4 #E7F44D
analogous
#4D93F4 #5A4DF4 #AE4DF4
triadic
#5A4DF4 #F45A4D #4DF45A
tetradic
#5A4DF4 #F44D93 #E7F44D #4DF4AE
square
#5A4DF4 #F44D93 #E7F44D #4DF4AE
split-complementary
#5A4DF4 #F4AE4D #93F44D
monochromatic
#190CBB #2513F0 #5A4DF4 #8F87F8 #C5C0FB

Accessibility & contrast

On white

5.52
#5A4DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5A4DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4DF4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DF4#FFFFFF#000000##FFFFFF
##5A4DF41.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF9
Deuteranopia (green-blind)
#0062F1
Tritanopia (blue-blind)
#007A9B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a4df4;
/* rgb */ color: rgb(90, 77, 244);
/* oklch */ color: oklch(54.2% 0.238 278.3);
Tailwind
colors: {
  custom: {
    50: '#9a80f9',
    500: '#5a4df4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4df4;
$custom-light: #9a80f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4df4",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 244.671,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.23838,
    "h": 278.3
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#5A4DF4
secondary
#E8ECB0
accent
#E501D3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5A4DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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