#5844BC#5844BC

#5844BC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.180 H 285.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5844BC
RGBrgb(88, 68, 188)
HSLhsl(250, 47%, 50%)
HSVhsv(250, 64%, 74%)
CMYKcmyk(53.2%, 63.8%, 0%, 26.3%)
CIE-LABlab(37.55, 40.37, -60.59)
CIE-LCHlch(37.55, 72.80, 303.67°)
OKLaboklab(47.87% 0.0465 -0.1739)
OKLCHoklch(47.87% 0.18 285)
XYZxyz(15.1660, 9.8390, 48.6672)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844BC #A8BC44
analogous
#446CBC #5844BC #9444BC
triadic
#5844BC #BC5844 #44BC58
tetradic
#5844BC #BC446C #A8BC44 #44BC94
square
#5844BC #BC446C #A8BC44 #44BC94
split-complementary
#5844BC #BC9444 #6CBC44
monochromatic
#2E2362 #43338F #5844BC #8071CC #A89EDC

Accessibility & contrast

On white

7.08
#5844BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5844BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5844BC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844BC#FFFFFF#000000##FFFFFF
##5844BC1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#2F617A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5844bc;
/* rgb */ color: rgb(88, 68, 188);
/* oklch */ color: oklch(47.9% 0.180 285.0);
Tailwind
colors: {
  custom: {
    50: '#9079d1',
    500: '#5844bc',
    950: '#000000',
  },
}
SCSS
$custom: #5844bc;
$custom-light: #9079d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5844bc",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 188
  },
  "hsl": {
    "h": 250,
    "s": 47.244,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.17997,
    "h": 285
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#5844BC
secondary
#C0C993
accent
#D751C1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5844BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5844BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva