#5D4AEB#5D4AEB

#5D4AEB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.2% C 0.230 H 280.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5D4AEB
RGBrgb(93, 74, 235)
HSLhsl(247, 80%, 61%)
HSVhsv(247, 69%, 92%)
CMYKcmyk(60.4%, 68.5%, 0%, 7.8%)
CIE-LABlab(43.09, 52.06, -78.57)
CIE-LCHlch(43.09, 94.25, 303.53°)
OKLaboklab(53.17% 0.0418 -0.2265)
OKLCHoklch(53.17% 0.23 280.5)
XYZxyz(21.9536, 13.2213, 79.9762)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AEB #D8EB4A
analogous
#4A87EB #5D4AEB #AE4AEB
triadic
#5D4AEB #EB5D4A #4AEB5D
tetradic
#5D4AEB #EB4A87 #D8EB4A #4AEBAE
square
#5D4AEB #EB4A87 #D8EB4A #4AEBAE
split-complementary
#5D4AEB #EBAE4A #87EB4A
monochromatic
#2413A8 #3019DF #5D4AEB #8E81F1 #C0B8F7

Accessibility & contrast

On white

5.76
#5D4AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5D4AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AEB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AEB#FFFFFF#000000##FFFFFF
##5D4AEB1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4aeb;
/* rgb */ color: rgb(93, 74, 235);
/* oklch */ color: oklch(53.2% 0.230 280.5);
Tailwind
colors: {
  custom: {
    50: '#9a7ef3',
    500: '#5d4aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4aeb;
$custom-light: #9a7ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4aeb",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 247.081,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.2303,
    "h": 280.5
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#5D4AEB
secondary
#E0E7AA
accent
#DC09C3
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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