#5943BE#5943BE

#5943BE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.184 H 285.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5943BE
RGBrgb(89, 67, 190)
HSLhsl(251, 49%, 50%)
HSVhsv(251, 65%, 75%)
CMYKcmyk(53.2%, 64.7%, 0%, 25.5%)
CIE-LABlab(37.58, 41.74, -61.71)
CIE-LCHlch(37.58, 74.50, 304.07°)
OKLaboklab(47.97% 0.0486 -0.1771)
OKLCHoklch(47.97% 0.184 285.3)
XYZxyz(15.4185, 9.8550, 49.7950)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943BE #A8BE43
analogous
#436ABE #5943BE #9743BE
triadic
#5943BE #BE5943 #43BE59
tetradic
#5943BE #BE436A #A8BE43 #43BE97
square
#5943BE #BE436A #A8BE43 #43BE97
split-complementary
#5943BE #BE9743 #6ABE43
monochromatic
#2E2364 #433291 #5943BE #8170CE #A99EDD

Accessibility & contrast

On white

7.07
#5943BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5943BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5943BE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943BE#FFFFFF#000000##FFFFFF
##5943BE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#30617A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5943be;
/* rgb */ color: rgb(89, 67, 190);
/* oklch */ color: oklch(48.0% 0.184 285.3);
Tailwind
colors: {
  custom: {
    50: '#9178d3',
    500: '#5943be',
    950: '#000000',
  },
}
SCSS
$custom: #5943be;
$custom-light: #9178d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5943be",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 250.732,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.18367,
    "h": 285.3
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5943BE

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

Preview Lab → · Contrast checker → · Palette generator →

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