#5843BC#5843BC

#5843BC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.7% C 0.181 H 285.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5843BC
RGBrgb(88, 67, 188)
HSLhsl(250, 47%, 50%)
HSVhsv(250, 64%, 74%)
CMYKcmyk(53.2%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.33, 40.95, -60.94)
CIE-LCHlch(37.33, 73.42, 303.90°)
OKLaboklab(47.72% 0.0475 -0.1749)
OKLCHoklch(47.72% 0.181 285.2)
XYZxyz(15.1060, 9.7190, 48.6472)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843BC #A7BC43
analogous
#436BBC #5843BC #9443BC
triadic
#5843BC #BC5843 #43BC58
tetradic
#5843BC #BC436B #A7BC43 #43BC94
square
#5843BC #BC436B #A7BC43 #43BC94
split-complementary
#5843BC #BC9443 #6BBC43
monochromatic
#2E2362 #43338F #5843BC #8070CC #A89DDC

Accessibility & contrast

On white

7.13
#5843BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5843BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5843BC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843BC#FFFFFF#000000##FFFFFF
##5843BC1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#2F6179
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5843bc;
/* rgb */ color: rgb(88, 67, 188);
/* oklch */ color: oklch(47.7% 0.181 285.2);
Tailwind
colors: {
  custom: {
    50: '#9078d1',
    500: '#5843bc',
    950: '#000000',
  },
}
SCSS
$custom: #5843bc;
$custom-light: #9078d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5843bc",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 250.413,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.18123,
    "h": 285.2
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#5843BC
secondary
#BFC992
accent
#D751C0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5843BC

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

Preview Lab → · Contrast checker → · Palette generator →

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