#5A4ADA#5A4ADA

#5A4ADA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.210 H 281.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5A4ADA
RGBrgb(90, 74, 218)
HSLhsl(247, 66%, 57%)
HSVhsv(247, 66%, 85%)
CMYKcmyk(58.7%, 66.1%, 0%, 14.5%)
CIE-LABlab(41.42, 46.45, -71.64)
CIE-LCHlch(41.42, 85.38, 302.95°)
OKLaboklab(51.47% 0.0404 -0.2063)
OKLCHoklch(51.47% 0.21 281.1)
XYZxyz(19.3161, 12.1318, 67.6399)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4ADA #CADA4A
analogous
#4A82DA #5A4ADA #A24ADA
triadic
#5A4ADA #DA5A4A #4ADA5A
tetradic
#5A4ADA #DA4A82 #CADA4A #4ADAA2
square
#5A4ADA #DA4A82 #CADA4A #4ADAA2
split-complementary
#5A4ADA #DAA24A #82DA4A
monochromatic
#291D8D #3827C0 #5A4ADA #887DE4 #B7B0EF

Accessibility & contrast

On white

6.13
#5A4ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5A4ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4ADA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4ADA#FFFFFF#000000##FFFFFF
##5A4ADA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a4ada;
/* rgb */ color: rgb(90, 74, 218);
/* oklch */ color: oklch(51.5% 0.210 281.1);
Tailwind
colors: {
  custom: {
    50: '#957ee7',
    500: '#5a4ada',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ada;
$custom-light: #957ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ada",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 246.667,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.21018,
    "h": 281.1
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

primary
#5A4ADA
secondary
#D7DDA3
accent
#E93FD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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