#5D4CEB#5D4CEB

#5D4CEB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.5% C 0.228 H 280.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5D4CEB
RGBrgb(93, 76, 235)
HSLhsl(246, 80%, 61%)
HSVhsv(246, 68%, 92%)
CMYKcmyk(60.4%, 67.7%, 0%, 7.8%)
CIE-LABlab(43.50, 50.96, -77.91)
CIE-LCHlch(43.50, 93.09, 303.19°)
OKLaboklab(53.46% 0.0403 -0.2245)
OKLCHoklch(53.46% 0.228 280.2)
XYZxyz(22.0893, 13.4926, 80.0215)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CEB #DAEB4C
analogous
#4C8AEB #5D4CEB #AC4CEB
triadic
#5D4CEB #EB5D4C #4CEB5D
tetradic
#5D4CEB #EB4C8A #DAEB4C #4CEBAC
square
#5D4CEB #EB4C8A #DAEB4C #4CEBAC
split-complementary
#5D4CEB #EBAC4C #8AEB4C
monochromatic
#2313AA #2E19E1 #5D4CEB #8F83F1 #C1BAF7

Accessibility & contrast

On white

5.68
#5D4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5D4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CEB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CEB#FFFFFF#000000##FFFFFF
##5D4CEB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d4ceb;
/* rgb */ color: rgb(93, 76, 235);
/* oklch */ color: oklch(53.5% 0.228 280.2);
Tailwind
colors: {
  custom: {
    50: '#9a80f3',
    500: '#5d4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ceb;
$custom-light: #9a80f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ceb",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 246.415,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.22813,
    "h": 280.2
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#5D4CEB
secondary
#E1E7AB
accent
#DC09C6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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