#5846D6#5846D6

#5846D6 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.210 H 281.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5846D6
RGBrgb(88, 70, 214)
HSLhsl(248, 64%, 56%)
HSVhsv(248, 67%, 84%)
CMYKcmyk(58.9%, 67.3%, 0%, 16.1%)
CIE-LABlab(40.10, 47.18, -71.53)
CIE-LCHlch(40.10, 85.69, 303.41°)
OKLaboklab(50.37% 0.0416 -0.206)
OKLCHoklch(50.37% 0.21 281.4)
XYZxyz(18.3485, 11.3088, 64.8212)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846D6 #C4D646
analogous
#467CD6 #5846D6 #A046D6
triadic
#5846D6 #D65846 #46D658
tetradic
#5846D6 #D6467C #C4D646 #46D6A0
square
#5846D6 #D6467C #C4D646 #46D6A0
split-complementary
#5846D6 #D6A046 #7CD646
monochromatic
#2A1D84 #3A28B6 #5846D6 #8578E1 #B2AAEC

Accessibility & contrast

On white

6.44
#5846D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5846D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846D6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846D6#FFFFFF#000000##FFFFFF
##5846D61.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5846d6;
/* rgb */ color: rgb(88, 70, 214);
/* oklch */ color: oklch(50.4% 0.210 281.4);
Tailwind
colors: {
  custom: {
    50: '#947be4',
    500: '#5846d6',
    950: '#000000',
  },
}
SCSS
$custom: #5846d6;
$custom-light: #947be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5846d6",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 247.5,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.21015,
    "h": 281.4
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#5846D6
secondary
#D2DA9E
accent
#E741D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5846D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5846D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva