#5A4ADC#5A4ADC

#5A4ADC is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.213 H 280.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5A4ADC
RGBrgb(90, 74, 220)
HSLhsl(247, 68%, 58%)
HSVhsv(247, 66%, 86%)
CMYKcmyk(59.1%, 66.4%, 0%, 13.7%)
CIE-LABlab(41.59, 47.06, -72.52)
CIE-LCHlch(41.59, 86.45, 302.98°)
OKLaboklab(51.64% 0.0401 -0.2088)
OKLCHoklch(51.64% 0.213 280.9)
XYZxyz(19.5794, 12.2372, 69.0265)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4ADC #CCDC4A
analogous
#4A83DC #5A4ADC #A34ADC
triadic
#5A4ADC #DC5A4A #4ADC5A
tetradic
#5A4ADC #DC4A83 #CCDC4A #4ADCA3
square
#5A4ADC #DC4A83 #CCDC4A #4ADCA3
split-complementary
#5A4ADC #DCA34A #83DC4A
monochromatic
#291C90 #3726C3 #5A4ADC #897DE6 #B7B1F0

Accessibility & contrast

On white

6.09
#5A4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5A4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4ADC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4ADC#FFFFFF#000000##FFFFFF
##5A4ADC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a4adc;
/* rgb */ color: rgb(90, 74, 220);
/* oklch */ color: oklch(51.6% 0.213 280.9);
Tailwind
colors: {
  custom: {
    50: '#967ee8',
    500: '#5a4adc',
    950: '#000000',
  },
}
SCSS
$custom: #5a4adc;
$custom-light: #967ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4adc",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 246.575,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.21264,
    "h": 280.9
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#5A4ADC
secondary
#D8DEA4
accent
#EA3DD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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