#5A4CD4#5A4CD4

#5A4CD4 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.3% C 0.200 H 281.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5A4CD4
RGBrgb(90, 76, 212)
HSLhsl(246, 61%, 56%)
HSVhsv(246, 64%, 83%)
CMYKcmyk(57.5%, 64.2%, 0%, 16.9%)
CIE-LABlab(41.37, 43.44, -68.30)
CIE-LCHlch(41.37, 80.94, 302.46°)
OKLaboklab(51.28% 0.0393 -0.1964)
OKLCHoklch(51.28% 0.2 281.3)
XYZxyz(18.6808, 12.0948, 63.6247)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CD4 #C6D44C
analogous
#4C82D4 #5A4CD4 #9E4CD4
triadic
#5A4CD4 #D45A4C #4CD45A
tetradic
#5A4CD4 #D44C82 #C6D44C #4CD49E
square
#5A4CD4 #D44C82 #C6D44C #4CD49E
split-complementary
#5A4CD4 #D49E4C #82D44C
monochromatic
#2B2086 #3A2CB7 #5A4CD4 #877DE0 #B5AFEC

Accessibility & contrast

On white

6.14
#5A4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5A4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CD4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CD4#FFFFFF#000000##FFFFFF
##5A4CD41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#106E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a4cd4;
/* rgb */ color: rgb(90, 76, 212);
/* oklch */ color: oklch(51.3% 0.200 281.3);
Tailwind
colors: {
  custom: {
    50: '#947fe2',
    500: '#5a4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4cd4;
$custom-light: #947fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4cd4",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 246.176,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51279,
    "c": 0.20034,
    "h": 281.3
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#5A4CD4
secondary
#D4DAA2
accent
#E443D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5A4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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