#5A4CE9#5A4CE9

#5A4CE9 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.1% C 0.226 H 279.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5A4CE9
RGBrgb(90, 76, 233)
HSLhsl(245, 78%, 61%)
HSVhsv(245, 67%, 91%)
CMYKcmyk(61.4%, 67.4%, 0%, 8.6%)
CIE-LABlab(43.10, 49.93, -77.44)
CIE-LCHlch(43.10, 92.14, 302.82°)
OKLaboklab(53.07% 0.0368 -0.2232)
OKLCHoklch(53.07% 0.226 279.4)
XYZxyz(21.5042, 13.2241, 78.4943)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CE9 #DBE94C
analogous
#4C8DE9 #5A4CE9 #A84CE9
triadic
#5A4CE9 #E95A4C #4CE95A
tetradic
#5A4CE9 #E94C8D #DBE94C #4CE9A8
square
#5A4CE9 #E94C8D #DBE94C #4CE9A8
split-complementary
#5A4CE9 #E9A84C #8DE94C
monochromatic
#2114A6 #2C1BDD #5A4CE9 #8C83F0 #BEB9F6

Accessibility & contrast

On white

5.76
#5A4CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5A4CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CE9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CE9#FFFFFF#000000##FFFFFF
##5A4CE91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0060E6
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a4ce9;
/* rgb */ color: rgb(90, 76, 233);
/* oklch */ color: oklch(53.1% 0.226 279.4);
Tailwind
colors: {
  custom: {
    50: '#987ff1',
    500: '#5a4ce9',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ce9;
$custom-light: #987ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ce9",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 245.35,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.22627,
    "h": 279.4
  },
  "luminance": 0.13226
}

Semantic roles & 50–950 ramp

primary
#5A4CE9
secondary
#E1E6AB
accent
#DA0BC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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