#5936BE#5936BE

#5936BE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.199 H 287.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5936BE
RGBrgb(89, 54, 190)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(53.2%, 71.6%, 0%, 25.5%)
CIE-LABlab(34.96, 48.91, -65.99)
CIE-LCHlch(34.96, 82.14, 306.55°)
OKLaboklab(46.09% 0.0604 -0.1897)
OKLCHoklch(46.09% 0.199 287.7)
XYZxyz(14.7305, 8.4792, 49.5657)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936BE #9BBE36
analogous
#3657BE #5936BE #9D36BE
triadic
#5936BE #BE5936 #36BE59
tetradic
#5936BE #BE3657 #9BBE36 #36BE9D
square
#5936BE #BE3657 #9BBE36 #36BE9D
split-complementary
#5936BE #BE9D36 #57BE36
monochromatic
#2C1B5F #43288E #5936BE #7D60D2 #A48FDF

Accessibility & contrast

On white

7.79
#5936BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5936BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936BE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936BE#FFFFFF#000000##FFFFFF
##5936BE1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#315A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5936be;
/* rgb */ color: rgb(89, 54, 190);
/* oklch */ color: oklch(46.1% 0.199 287.7);
Tailwind
colors: {
  custom: {
    50: '#9270d3',
    500: '#5936be',
    950: '#000000',
  },
}
SCSS
$custom: #5936be;
$custom-light: #9270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5936be",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 255.441,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.19906,
    "h": 287.7
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5936BE

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

Preview Lab → · Contrast checker → · Palette generator →

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