#5D47E6#5D47E6

#5D47E6 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.3% C 0.228 H 281.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D47E6
RGBrgb(93, 71, 230)
HSLhsl(248, 76%, 59%)
HSVhsv(248, 69%, 90%)
CMYKcmyk(59.6%, 69.1%, 0%, 9.8%)
CIE-LABlab(42.07, 52.19, -77.42)
CIE-LCHlch(42.07, 93.36, 303.99°)
OKLaboklab(52.31% 0.0449 -0.2231)
OKLCHoklch(52.31% 0.228 281.4)
XYZxyz(21.0459, 12.5453, 76.1600)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47E6 #D0E647
analogous
#4781E6 #5D47E6 #AD47E6
triadic
#5D47E6 #E65D47 #47E65D
tetradic
#5D47E6 #E64781 #D0E647 #47E6AD
square
#5D47E6 #E64781 #D0E647 #47E6AD
split-complementary
#5D47E6 #E6AD47 #81E647
monochromatic
#28159D #361DD3 #5D47E6 #8C7DED #BCB3F5

Accessibility & contrast

On white

5.98
#5D47E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5D47E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47E6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47E6#FFFFFF#000000##FFFFFF
##5D47E61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d47e6;
/* rgb */ color: rgb(93, 71, 230);
/* oklch */ color: oklch(52.3% 0.228 281.4);
Tailwind
colors: {
  custom: {
    50: '#997cef',
    500: '#5d47e6',
    950: '#000000',
  },
}
SCSS
$custom: #5d47e6;
$custom-light: #997cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47e6",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 248.302,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.22756,
    "h": 281.4
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#5D47E6
secondary
#DBE4A5
accent
#F335D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D47E6

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

Preview Lab → · Contrast checker → · Palette generator →

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