#5847D9#5847D9

#5847D9 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.213 H 280.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5847D9
RGBrgb(88, 71, 217)
HSLhsl(247, 66%, 56%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.4%, 67.3%, 0%, 14.9%)
CIE-LABlab(40.56, 47.54, -72.50)
CIE-LCHlch(40.56, 86.69, 303.25°)
OKLaboklab(50.78% 0.0404 -0.2088)
OKLCHoklch(50.78% 0.213 280.9)
XYZxyz(18.7982, 11.5896, 66.8786)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847D9 #C8D947
analogous
#477FD9 #5847D9 #A147D9
triadic
#5847D9 #D95847 #47D958
tetradic
#5847D9 #D9477F #C8D947 #47D9A1
square
#5847D9 #D9477F #C8D947 #47D9A1
split-complementary
#5847D9 #D9A147 #7FD947
monochromatic
#291C89 #3827BC #5847D9 #867AE3 #B4ACEE

Accessibility & contrast

On white

6.33
#5847D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5847D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847D9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847D9#FFFFFF#000000##FFFFFF
##5847D91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5847d9;
/* rgb */ color: rgb(88, 71, 217);
/* oklch */ color: oklch(50.8% 0.213 280.9);
Tailwind
colors: {
  custom: {
    50: '#947ce6',
    500: '#5847d9',
    950: '#000000',
  },
}
SCSS
$custom: #5847d9;
$custom-light: #947ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5847d9",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 246.986,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.21269,
    "h": 280.9
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#5847D9
secondary
#D5DCA0
accent
#E93FD5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5847D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5847D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva