#5943BB#5943BB

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

Color values

HEX#5943BB
RGBrgb(89, 67, 187)
HSLhsl(251, 47%, 50%)
HSVhsv(251, 64%, 73%)
CMYKcmyk(52.4%, 64.2%, 0%, 26.7%)
CIE-LABlab(37.34, 40.83, -60.33)
CIE-LCHlch(37.34, 72.85, 304.09°)
OKLaboklab(47.72% 0.0489 -0.1731)
OKLCHoklch(47.72% 0.18 285.8)
XYZxyz(15.0939, 9.7252, 48.0859)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943BB #A5BB43
analogous
#4369BB #5943BB #9543BB
triadic
#5943BB #BB5943 #43BB59
tetradic
#5943BB #BB4369 #A5BB43 #43BB95
square
#5943BB #BB4369 #A5BB43 #43BB95
split-complementary
#5943BB #BB9543 #69BB43
monochromatic
#2E2361 #44338E #5943BB #8070CC #A89DDC

Accessibility & contrast

On white

7.13
#5943BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5943BB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943BB#FFFFFF#000000##FFFFFF
##5943BB1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#326079
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5943bb;
/* rgb */ color: rgb(89, 67, 187);
/* oklch */ color: oklch(47.7% 0.180 285.8);
Tailwind
colors: {
  custom: {
    50: '#9078d0',
    500: '#5943bb',
    950: '#000000',
  },
}
SCSS
$custom: #5943bb;
$custom-light: #9078d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5943bb",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 251,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.17986,
    "h": 285.8
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#5943BB
secondary
#BEC892
accent
#D751BE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5943BB

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

Preview Lab → · Contrast checker → · Palette generator →

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