#5936B8#5936B8

#5936B8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.192 H 288.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5936B8
RGBrgb(89, 54, 184)
HSLhsl(256, 55%, 47%)
HSVhsv(256, 71%, 72%)
CMYKcmyk(51.6%, 70.7%, 0%, 27.8%)
CIE-LABlab(34.44, 47.19, -63.30)
CIE-LCHlch(34.44, 78.96, 306.70°)
OKLaboklab(45.56% 0.0616 -0.1818)
OKLCHoklch(45.56% 0.192 288.7)
XYZxyz(14.0882, 8.2222, 46.1828)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936B8 #95B836
analogous
#3654B8 #5936B8 #9A36B8
triadic
#5936B8 #B85936 #36B859
tetradic
#5936B8 #B83654 #95B836 #36B89A
square
#5936B8 #B83654 #95B836 #36B89A
split-complementary
#5936B8 #B89A36 #54B836
monochromatic
#2B1A59 #422889 #5936B8 #7B5CCF #A18BDD

Accessibility & contrast

On white

7.94
#5936B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5936B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936B8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936B8#FFFFFF#000000##FFFFFF
##5936B81.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#365873
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5936b8;
/* rgb */ color: rgb(89, 54, 184);
/* oklch */ color: oklch(45.6% 0.192 288.7);
Tailwind
colors: {
  custom: {
    50: '#9170ce',
    500: '#5936b8',
    950: '#000000',
  },
}
SCSS
$custom: #5936b8;
$custom-light: #9170ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5936b8",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 256.154,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.19195,
    "h": 288.7
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#5936B8
secondary
#B5C782
accent
#DE4AB6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5936B8

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

Preview Lab → · Contrast checker → · Palette generator →

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