#5943BC#5943BC

#5943BC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.8% C 0.181 H 285.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5943BC
RGBrgb(89, 67, 188)
HSLhsl(251, 47%, 50%)
HSVhsv(251, 64%, 74%)
CMYKcmyk(52.7%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.42, 41.13, -60.79)
CIE-LCHlch(37.42, 73.40, 304.08°)
OKLaboklab(47.8% 0.0488 -0.1744)
OKLCHoklch(47.8% 0.181 285.6)
XYZxyz(15.2014, 9.7682, 48.6517)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943BC #A6BC43
analogous
#436ABC #5943BC #9543BC
triadic
#5943BC #BC5943 #43BC59
tetradic
#5943BC #BC436A #A6BC43 #43BC95
square
#5943BC #BC436A #A6BC43 #43BC95
split-complementary
#5943BC #BC9543 #6ABC43
monochromatic
#2E2362 #44338F #5943BC #8170CC #A99DDC

Accessibility & contrast

On white

7.11
#5943BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5943BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5943BC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943BC#FFFFFF#000000##FFFFFF
##5943BC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5943bc;
/* rgb */ color: rgb(89, 67, 188);
/* oklch */ color: oklch(47.8% 0.181 285.6);
Tailwind
colors: {
  custom: {
    50: '#9178d1',
    500: '#5943bc',
    950: '#000000',
  },
}
SCSS
$custom: #5943bc;
$custom-light: #9178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5943bc",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 250.909,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.18114,
    "h": 285.6
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#5943BC
secondary
#BFC992
accent
#D751BF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5943BC

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

Preview Lab → · Contrast checker → · Palette generator →

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