#5A4EE9#5A4EE9

#5A4EE9 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.224 H 279.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A4EE9
RGBrgb(90, 78, 233)
HSLhsl(245, 78%, 61%)
HSVhsv(245, 67%, 91%)
CMYKcmyk(61.4%, 66.5%, 0%, 8.6%)
CIE-LABlab(43.51, 48.81, -76.76)
CIE-LCHlch(43.51, 90.96, 302.45°)
OKLaboklab(53.36% 0.0353 -0.2213)
OKLCHoklch(53.36% 0.224 279.1)
XYZxyz(21.6441, 13.5040, 78.5409)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4EE9 #DDE94E
analogous
#4E8FE9 #5A4EE9 #A74EE9
triadic
#5A4EE9 #E95A4E #4EE95A
tetradic
#5A4EE9 #E94E8F #DDE94E #4EE9A7
square
#5A4EE9 #E94E8F #DDE94E #4EE9A7
split-complementary
#5A4EE9 #E9A74E #8FE94E
monochromatic
#2015A8 #2B1CDE #5A4EE9 #8D84F0 #BFBBF7

Accessibility & contrast

On white

5.67
#5A4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5A4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4EE9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4EE9#FFFFFF#000000##FFFFFF
##5A4EE91.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a4ee9;
/* rgb */ color: rgb(90, 78, 233);
/* oklch */ color: oklch(53.4% 0.224 279.1);
Tailwind
colors: {
  custom: {
    50: '#9881f1',
    500: '#5a4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ee9;
$custom-light: #9881f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ee9",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 244.645,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.22406,
    "h": 279.1
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#5A4EE9
secondary
#E2E7AC
accent
#DA0BCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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