#5936BB#5936BB

#5936BB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.196 H 288.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5936BB
RGBrgb(89, 54, 187)
HSLhsl(256, 55%, 47%)
HSVhsv(256, 71%, 73%)
CMYKcmyk(52.4%, 71.1%, 0%, 26.7%)
CIE-LABlab(34.70, 48.05, -64.65)
CIE-LCHlch(34.70, 80.55, 306.62°)
OKLaboklab(45.82% 0.061 -0.1857)
OKLCHoklch(45.82% 0.196 288.2)
XYZxyz(14.4060, 8.3493, 47.8566)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936BB #98BB36
analogous
#3656BB #5936BB #9B36BB
triadic
#5936BB #BB5936 #36BB59
tetradic
#5936BB #BB3656 #98BB36 #36BB9B
square
#5936BB #BB3656 #98BB36 #36BB9B
split-complementary
#5936BB #BB9B36 #56BB36
monochromatic
#2C1B5C #42288C #5936BB #7C5ED0 #A38DDE

Accessibility & contrast

On white

7.87
#5936BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5936BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936BB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936BB#FFFFFF#000000##FFFFFF
##5936BB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#345975
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5936bb;
/* rgb */ color: rgb(89, 54, 187);
/* oklch */ color: oklch(45.8% 0.196 288.2);
Tailwind
colors: {
  custom: {
    50: '#9170d1',
    500: '#5936bb',
    950: '#000000',
  },
}
SCSS
$custom: #5936bb;
$custom-light: #9170d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5936bb",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 255.789,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.19552,
    "h": 288.2
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#5936BB
secondary
#B7C984
accent
#DF49B7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5936BB

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

Preview Lab → · Contrast checker → · Palette generator →

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