#5A4BE4#5A4BE4

#5A4BE4 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.221 H 280.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5A4BE4
RGBrgb(90, 75, 228)
HSLhsl(246, 74%, 59%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(60.5%, 67.1%, 0%, 10.6%)
CIE-LABlab(42.47, 48.96, -75.63)
CIE-LCHlch(42.47, 90.10, 302.91°)
OKLaboklab(52.48% 0.0383 -0.218)
OKLCHoklch(52.48% 0.221 280)
XYZxyz(20.7317, 12.8057, 74.7630)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BE4 #D5E44B
analogous
#4B89E4 #5A4BE4 #A64BE4
triadic
#5A4BE4 #E45A4B #4BE45A
tetradic
#5A4BE4 #E44B89 #D5E44B #4BE4A6
square
#5A4BE4 #E44B89 #D5E44B #4BE4A6
split-complementary
#5A4BE4 #E4A64B #89E44B
monochromatic
#25189D #3120D2 #5A4BE4 #8B80EC #BCB5F4

Accessibility & contrast

On white

5.90
#5A4BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5A4BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BE4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BE4#FFFFFF#000000##FFFFFF
##5A4BE41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4be4;
/* rgb */ color: rgb(90, 75, 228);
/* oklch */ color: oklch(52.5% 0.221 280.0);
Tailwind
colors: {
  custom: {
    50: '#977fee',
    500: '#5a4be4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4be4;
$custom-light: #977fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4be4",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 245.882,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52483,
    "c": 0.2213,
    "h": 280
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#5A4BE4
secondary
#DDE3A8
accent
#F137DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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