#5A4BE2#5A4BE2

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

Color values

HEX#5A4BE2
RGBrgb(90, 75, 226)
HSLhsl(246, 72%, 59%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(60.2%, 66.8%, 0%, 11.4%)
CIE-LABlab(42.30, 48.34, -74.77)
CIE-LCHlch(42.30, 89.04, 302.88°)
OKLaboklab(52.31% 0.0385 -0.2154)
OKLCHoklch(52.31% 0.219 280.1)
XYZxyz(20.4556, 12.6953, 73.3093)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BE2 #D3E24B
analogous
#4B88E2 #5A4BE2 #A64BE2
triadic
#5A4BE2 #E25A4B #4BE25A
tetradic
#5A4BE2 #E24B88 #D3E24B #4BE2A6
square
#5A4BE2 #E24B88 #D3E24B #4BE2A6
split-complementary
#5A4BE2 #E2A64B #88E24B
monochromatic
#26199A #3221CF #5A4BE2 #8A80EA #BBB4F3

Accessibility & contrast

On white

5.93
#5A4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A4BE2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BE2#FFFFFF#000000##FFFFFF
##5A4BE21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a4be2;
/* rgb */ color: rgb(90, 75, 226);
/* oklch */ color: oklch(52.3% 0.219 280.1);
Tailwind
colors: {
  custom: {
    50: '#977fec',
    500: '#5a4be2',
    950: '#000000',
  },
}
SCSS
$custom: #5a4be2;
$custom-light: #977fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4be2",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 245.96,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.21886,
    "h": 280.1
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#5A4BE2
secondary
#DCE2A7
accent
#EF39DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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