#5A4FDE#5A4FDE

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

Color values

HEX#5A4FDE
RGBrgb(90, 79, 222)
HSLhsl(245, 68%, 59%)
HSVhsv(245, 64%, 87%)
CMYKcmyk(59.5%, 64.4%, 0%, 12.9%)
CIE-LABlab(42.82, 44.81, -71.65)
CIE-LCHlch(42.82, 84.51, 302.02°)
OKLaboklab(52.58% 0.0358 -0.2063)
OKLCHoklch(52.58% 0.209 279.8)
XYZxyz(20.1931, 13.0381, 70.5456)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4FDE #D3DE4F
analogous
#4F8CDE #5A4FDE #A14FDE
triadic
#5A4FDE #DE5A4F #4FDE5A
tetradic
#5A4FDE #DE4F8C #D3DE4F #4FDEA1
square
#5A4FDE #DE4F8C #D3DE4F #4FDEA1
split-complementary
#5A4FDE #DEA14F #8CDE4F
monochromatic
#261C96 #3226CA #5A4FDE #8A83E8 #BBB6F1

Accessibility & contrast

On white

5.82
#5A4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5A4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4FDE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4FDE#FFFFFF#000000##FFFFFF
##5A4FDE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a4fde;
/* rgb */ color: rgb(90, 79, 222);
/* oklch */ color: oklch(52.6% 0.209 279.8);
Tailwind
colors: {
  custom: {
    50: '#9681e9',
    500: '#5a4fde',
    950: '#000000',
  },
}
SCSS
$custom: #5a4fde;
$custom-light: #9681e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4fde",
  "rgb": {
    "r": 90,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 244.615,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52584,
    "c": 0.20934,
    "h": 279.8
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#5A4FDE
secondary
#DCE0A8
accent
#EB3DDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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