#5A4BDC#5A4BDC

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

Color values

HEX#5A4BDC
RGBrgb(90, 75, 220)
HSLhsl(246, 67%, 58%)
HSVhsv(246, 66%, 86%)
CMYKcmyk(59.1%, 65.9%, 0%, 13.7%)
CIE-LABlab(41.80, 46.49, -72.17)
CIE-LCHlch(41.80, 85.85, 302.79°)
OKLaboklab(51.8% 0.0393 -0.2078)
OKLCHoklch(51.8% 0.212 280.7)
XYZxyz(19.6467, 12.3717, 69.0490)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BDC #CDDC4B
analogous
#4B84DC #5A4BDC #A24BDC
triadic
#5A4BDC #DC5A4B #4BDC5A
tetradic
#5A4BDC #DC4B84 #CDDC4B #4BDCA2
square
#5A4BDC #DC4B84 #CDDC4B #4BDCA2
split-complementary
#5A4BDC #DCA24B #84DC4B
monochromatic
#281C91 #3626C4 #5A4BDC #897EE6 #B8B1F0

Accessibility & contrast

On white

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

On black

3.47
#5A4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A4BDC#FFFFFF#000000##FFFFFF
##5A4BDC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4bdc;
/* rgb */ color: rgb(90, 75, 220);
/* oklch */ color: oklch(51.8% 0.211 280.7);
Tailwind
colors: {
  custom: {
    50: '#967ee8',
    500: '#5a4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bdc;
$custom-light: #967ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bdc",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 246.207,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.2115,
    "h": 280.7
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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