#5A4AE5#5A4AE5

#5A4AE5 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.224 H 280.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A4AE5
RGBrgb(90, 74, 229)
HSLhsl(246, 75%, 59%)
HSVhsv(246, 68%, 90%)
CMYKcmyk(60.7%, 67.7%, 0%, 10.2%)
CIE-LABlab(42.35, 49.82, -76.40)
CIE-LCHlch(42.35, 91.21, 303.11°)
OKLaboklab(52.42% 0.0389 -0.2202)
OKLCHoklch(52.42% 0.224 280)
XYZxyz(20.8036, 12.7268, 75.4738)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4AE5 #D5E54A
analogous
#4A87E5 #5A4AE5 #A84AE5
triadic
#5A4AE5 #E55A4A #4AE55A
tetradic
#5A4AE5 #E54A87 #D5E54A #4AE5A8
square
#5A4AE5 #E54A87 #D5E54A #4AE5A8
split-complementary
#5A4AE5 #E5A84A #87E54A
monochromatic
#25179E #311ED3 #5A4AE5 #8B80ED #BCB5F4

Accessibility & contrast

On white

5.92
#5A4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5A4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4AE5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4AE5#FFFFFF#000000##FFFFFF
##5A4AE51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4ae5;
/* rgb */ color: rgb(90, 74, 229);
/* oklch */ color: oklch(52.4% 0.224 280.0);
Tailwind
colors: {
  custom: {
    50: '#977eee',
    500: '#5a4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ae5;
$custom-light: #977eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ae5",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 246.194,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.22362,
    "h": 280
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#5A4AE5
secondary
#DDE4A7
accent
#F136DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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