#5A4ADD#5A4ADD

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

Color values

HEX#5A4ADD
RGBrgb(90, 74, 221)
HSLhsl(247, 68%, 58%)
HSVhsv(247, 67%, 87%)
CMYKcmyk(59.3%, 66.5%, 0%, 13.3%)
CIE-LABlab(41.67, 47.37, -72.95)
CIE-LCHlch(41.67, 86.98, 303.00°)
OKLaboklab(51.73% 0.04 -0.2101)
OKLCHoklch(51.73% 0.214 280.8)
XYZxyz(19.7123, 12.2903, 69.7261)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4ADD #CDDD4A
analogous
#4A83DD #5A4ADD #A44ADD
triadic
#5A4ADD #DD5A4A #4ADD5A
tetradic
#5A4ADD #DD4A83 #CDDD4A #4ADDA4
square
#5A4ADD #DD4A83 #CDDD4A #4ADDA4
split-complementary
#5A4ADD #DDA44A #83DD4A
monochromatic
#281B91 #3625C5 #5A4ADD #897EE7 #B8B1F0

Accessibility & contrast

On white

6.07
#5A4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4ADD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4ADD#FFFFFF#000000##FFFFFF
##5A4ADD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a4add;
/* rgb */ color: rgb(90, 74, 221);
/* oklch */ color: oklch(51.7% 0.214 280.8);
Tailwind
colors: {
  custom: {
    50: '#967ee9',
    500: '#5a4add',
    950: '#000000',
  },
}
SCSS
$custom: #5a4add;
$custom-light: #967ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4add",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 246.531,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.21387,
    "h": 280.8
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#5A4ADD
secondary
#D8DFA4
accent
#EB3DD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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