#5A4CE0#5A4CE0

#5A4CE0 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.215 H 280.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A4CE0
RGBrgb(90, 76, 224)
HSLhsl(246, 70%, 59%)
HSVhsv(246, 66%, 88%)
CMYKcmyk(59.8%, 66.1%, 0%, 12.2%)
CIE-LABlab(42.34, 47.16, -73.57)
CIE-LCHlch(42.34, 87.38, 302.66°)
OKLaboklab(52.29% 0.038 -0.2119)
OKLCHoklch(52.29% 0.215 280.2)
XYZxyz(20.2512, 12.7229, 71.8952)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CE0 #D2E04C
analogous
#4C88E0 #5A4CE0 #A44CE0
triadic
#5A4CE0 #E05A4C #4CE05A
tetradic
#5A4CE0 #E04C88 #D2E04C #4CE0A4
square
#5A4CE0 #E04C88 #D2E04C #4CE0A4
split-complementary
#5A4CE0 #E0A44C #88E04C
monochromatic
#261A97 #3323CC #5A4CE0 #8A80E9 #BAB4F2

Accessibility & contrast

On white

5.92
#5A4CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5A4CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CE0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CE0#FFFFFF#000000##FFFFFF
##5A4CE01.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4ce0;
/* rgb */ color: rgb(90, 76, 224);
/* oklch */ color: oklch(52.3% 0.215 280.2);
Tailwind
colors: {
  custom: {
    50: '#967feb',
    500: '#5a4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ce0;
$custom-light: #967feb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ce0",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 245.676,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.21528,
    "h": 280.2
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#5A4CE0
secondary
#DCE1A7
accent
#ED3BDC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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