#5A4CE4#5A4CE4

#5A4CE4 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.220 H 279.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5A4CE4
RGBrgb(90, 76, 228)
HSLhsl(246, 74%, 60%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(60.5%, 66.7%, 0%, 10.6%)
CIE-LABlab(42.68, 48.39, -75.30)
CIE-LCHlch(42.68, 89.51, 302.73°)
OKLaboklab(52.63% 0.0375 -0.217)
OKLCHoklch(52.63% 0.22 279.8)
XYZxyz(20.8000, 12.9424, 74.7858)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CE4 #D6E44C
analogous
#4C8AE4 #5A4CE4 #A64CE4
triadic
#5A4CE4 #E45A4C #4CE45A
tetradic
#5A4CE4 #E44C8A #D6E44C #4CE4A6
square
#5A4CE4 #E44C8A #D6E44C #4CE4A6
split-complementary
#5A4CE4 #E4A64C #8AE44C
monochromatic
#24189E #3020D3 #5A4CE4 #8B81EC #BCB6F4

Accessibility & contrast

On white

5.85
#5A4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5A4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CE4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CE4#FFFFFF#000000##FFFFFF
##5A4CE41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a4ce4;
/* rgb */ color: rgb(90, 76, 228);
/* oklch */ color: oklch(52.6% 0.220 279.8);
Tailwind
colors: {
  custom: {
    50: '#977fee',
    500: '#5a4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ce4;
$custom-light: #977fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ce4",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 245.526,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.22019,
    "h": 279.8
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#5A4CE4
secondary
#DEE3A8
accent
#F037DF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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