#5D49E6#5D49E6

#5D49E6 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.225 H 281.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5D49E6
RGBrgb(93, 73, 230)
HSLhsl(248, 76%, 59%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(59.6%, 68.3%, 0%, 9.8%)
CIE-LABlab(42.47, 51.10, -76.77)
CIE-LCHlch(42.47, 92.22, 303.65°)
OKLaboklab(52.59% 0.0434 -0.2212)
OKLCHoklch(52.59% 0.225 281.1)
XYZxyz(21.1752, 12.8039, 76.2031)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49E6 #D2E649
analogous
#4984E6 #5D49E6 #AB49E6
triadic
#5D49E6 #E65D49 #49E65D
tetradic
#5D49E6 #E64984 #D2E649 #49E6AB
square
#5D49E6 #E64984 #D2E649 #49E6AB
split-complementary
#5D49E6 #E6AB49 #84E649
monochromatic
#27169F #351DD5 #5D49E6 #8D7FED #BDB5F5

Accessibility & contrast

On white

5.90
#5D49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5D49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D49E6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49E6#FFFFFF#000000##FFFFFF
##5D49E61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d49e6;
/* rgb */ color: rgb(93, 73, 230);
/* oklch */ color: oklch(52.6% 0.225 281.1);
Tailwind
colors: {
  custom: {
    50: '#997eef',
    500: '#5d49e6',
    950: '#000000',
  },
}
SCSS
$custom: #5d49e6;
$custom-light: #997eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49e6",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 247.643,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.2254,
    "h": 281.1
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#5D49E6
secondary
#DCE4A7
accent
#F235DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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