#5936BD#5936BD

#5936BD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.198 H 287.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5936BD
RGBrgb(89, 54, 189)
HSLhsl(256, 56%, 48%)
HSVhsv(256, 71%, 74%)
CMYKcmyk(52.9%, 71.4%, 0%, 25.9%)
CIE-LABlab(34.87, 48.63, -65.54)
CIE-LCHlch(34.87, 81.61, 306.57°)
OKLaboklab(46% 0.0606 -0.1884)
OKLCHoklch(46% 0.198 287.8)
XYZxyz(14.6216, 8.4356, 48.9920)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936BD #9ABD36
analogous
#3656BD #5936BD #9D36BD
triadic
#5936BD #BD5936 #36BD59
tetradic
#5936BD #BD3656 #9ABD36 #36BD9D
square
#5936BD #BD3656 #9ABD36 #36BD9D
split-complementary
#5936BD #BD9D36 #56BD36
monochromatic
#2C1B5E #43288D #5936BD #7D5FD1 #A38FDF

Accessibility & contrast

On white

7.81
#5936BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5936BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936BD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936BD#FFFFFF#000000##FFFFFF
##5936BD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#325A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5936bd;
/* rgb */ color: rgb(89, 54, 189);
/* oklch */ color: oklch(46.0% 0.198 287.8);
Tailwind
colors: {
  custom: {
    50: '#9270d2',
    500: '#5936bd',
    950: '#000000',
  },
}
SCSS
$custom: #5936bd;
$custom-light: #9270d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5936bd",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 255.556,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.19789,
    "h": 287.8
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#5936BD
secondary
#B8C985
accent
#DF49B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5936BD

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

Preview Lab → · Contrast checker → · Palette generator →

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