#5A4DE9#5A4DE9

#5A4DE9 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.225 H 279.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5A4DE9
RGBrgb(90, 77, 233)
HSLhsl(245, 78%, 61%)
HSVhsv(245, 67%, 91%)
CMYKcmyk(61.4%, 67%, 0%, 8.6%)
CIE-LABlab(43.31, 49.37, -77.10)
CIE-LCHlch(43.31, 91.55, 302.63°)
OKLaboklab(53.22% 0.0361 -0.2223)
OKLCHoklch(53.22% 0.225 279.2)
XYZxyz(21.5736, 13.3630, 78.5174)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DE9 #DCE94D
analogous
#4D8EE9 #5A4DE9 #A84DE9
triadic
#5A4DE9 #E95A4D #4DE95A
tetradic
#5A4DE9 #E94D8E #DCE94D #4DE9A8
square
#5A4DE9 #E94D8E #DCE94D #4DE9A8
split-complementary
#5A4DE9 #E9A84D #8EE94D
monochromatic
#2115A7 #2C1BDD #5A4DE9 #8C83F0 #BFBAF6

Accessibility & contrast

On white

5.72
#5A4DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5A4DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4DE9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DE9#FFFFFF#000000##FFFFFF
##5A4DE91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a4de9;
/* rgb */ color: rgb(90, 77, 233);
/* oklch */ color: oklch(53.2% 0.225 279.2);
Tailwind
colors: {
  custom: {
    50: '#9880f1',
    500: '#5a4de9',
    950: '#000000',
  },
}
SCSS
$custom: #5a4de9;
$custom-light: #9880f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4de9",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 245,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.22517,
    "h": 279.2
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#5A4DE9
secondary
#E2E6AB
accent
#DA0BC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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