#5A4DD7#5A4DD7

#5A4DD7 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.7% C 0.203 H 280.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A4DD7
RGBrgb(90, 77, 215)
HSLhsl(246, 63%, 57%)
HSVhsv(246, 64%, 84%)
CMYKcmyk(58.1%, 64.2%, 0%, 15.7%)
CIE-LABlab(41.82, 43.79, -69.27)
CIE-LCHlch(41.82, 81.95, 302.30°)
OKLaboklab(51.69% 0.0382 -0.1993)
OKLCHoklch(51.69% 0.203 280.8)
XYZxyz(19.1322, 12.3864, 65.6594)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DD7 #CAD74D
analogous
#4D85D7 #5A4DD7 #9F4DD7
triadic
#5A4DD7 #D75A4D #4DD75A
tetradic
#5A4DD7 #D74D85 #CAD74D #4DD79F
square
#5A4DD7 #D74D85 #CAD74D #4DD79F
split-complementary
#5A4DD7 #D79F4D #85D74D
monochromatic
#291F8A #382ABC #5A4DD7 #887FE2 #B7B1ED

Accessibility & contrast

On white

6.04
#5A4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5A4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4DD7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DD7#FFFFFF#000000##FFFFFF
##5A4DD71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#04708B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4dd7;
/* rgb */ color: rgb(90, 77, 215);
/* oklch */ color: oklch(51.7% 0.203 280.8);
Tailwind
colors: {
  custom: {
    50: '#9580e4',
    500: '#5a4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #5a4dd7;
$custom-light: #9580e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4dd7",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 245.652,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.20292,
    "h": 280.8
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#5A4DD7
secondary
#D7DCA4
accent
#E641D7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5A4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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