#5843D7#5843D7

#5843D7 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.215 H 281.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5843D7
RGBrgb(88, 67, 215)
HSLhsl(249, 65%, 55%)
HSVhsv(249, 69%, 84%)
CMYKcmyk(59.1%, 68.8%, 0%, 15.7%)
CIE-LABlab(39.57, 49.16, -72.97)
CIE-LCHlch(39.57, 87.98, 303.97°)
OKLaboklab(50.02% 0.0438 -0.2102)
OKLCHoklch(50.02% 0.215 281.8)
XYZxyz(18.2936, 10.9941, 65.4349)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843D7 #C2D743
analogous
#4378D7 #5843D7 #A243D7
triadic
#5843D7 #D75843 #43D758
tetradic
#5843D7 #D74378 #C2D743 #43D7A2
square
#5843D7 #D74378 #C2D743 #43D7A2
split-complementary
#5843D7 #D7A243 #78D743
monochromatic
#2B1C84 #3B27B6 #5843D7 #8575E2 #B2A8EC

Accessibility & contrast

On white

6.56
#5843D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5843D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5843D7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843D7#FFFFFF#000000##FFFFFF
##5843D71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5843d7;
/* rgb */ color: rgb(88, 67, 215);
/* oklch */ color: oklch(50.0% 0.215 281.8);
Tailwind
colors: {
  custom: {
    50: '#9479e4',
    500: '#5843d7',
    950: '#000000',
  },
}
SCSS
$custom: #5843d7;
$custom-light: #9479e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5843d7",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 248.514,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.21472,
    "h": 281.8
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#5843D7
secondary
#D1DA9C
accent
#E840D0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5843D7

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

Preview Lab → · Contrast checker → · Palette generator →

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