#5843BE#5843BE

#5843BE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.184 H 284.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5843BE
RGBrgb(88, 67, 190)
HSLhsl(250, 49%, 50%)
HSVhsv(250, 65%, 75%)
CMYKcmyk(53.7%, 64.7%, 0%, 25.5%)
CIE-LABlab(37.49, 41.56, -61.86)
CIE-LCHlch(37.49, 74.52, 303.90°)
OKLaboklab(47.88% 0.0472 -0.1776)
OKLCHoklch(47.88% 0.184 284.9)
XYZxyz(15.3231, 9.8059, 49.7905)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843BE #A9BE43
analogous
#436BBE #5843BE #9643BE
triadic
#5843BE #BE5843 #43BE58
tetradic
#5843BE #BE436B #A9BE43 #43BE96
square
#5843BE #BE436B #A9BE43 #43BE96
split-complementary
#5843BE #BE9643 #6BBE43
monochromatic
#2E2364 #433291 #5843BE #8070CE #A99EDD

Accessibility & contrast

On white

7.09
#5843BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5843BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5843BE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843BE#FFFFFF#000000##FFFFFF
##5843BE1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#2D617A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5843be;
/* rgb */ color: rgb(88, 67, 190);
/* oklch */ color: oklch(47.9% 0.184 284.9);
Tailwind
colors: {
  custom: {
    50: '#9078d3',
    500: '#5843be',
    950: '#000000',
  },
}
SCSS
$custom: #5843be;
$custom-light: #9078d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5843be",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 250.244,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.18378,
    "h": 284.9
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#5843BE
secondary
#C0CA93
accent
#D850C1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5843BE

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

Preview Lab → · Contrast checker → · Palette generator →

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