#5936CA#5936CA

#5936CA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.213 H 285.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5936CA
RGBrgb(89, 54, 202)
HSLhsl(254, 58%, 50%)
HSVhsv(254, 73%, 79%)
CMYKcmyk(55.9%, 73.3%, 0%, 20.8%)
CIE-LABlab(36.03, 52.35, -71.25)
CIE-LCHlch(36.03, 88.41, 306.31°)
OKLaboklab(47.17% 0.0578 -0.2051)
OKLCHoklch(47.17% 0.213 285.7)
XYZxyz(16.0964, 9.0255, 56.7596)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936CA #A7CA36
analogous
#365DCA #5936CA #A336CA
triadic
#5936CA #CA5936 #36CA59
tetradic
#5936CA #CA365D #A7CA36 #36CAA3
square
#5936CA #CA365D #A7CA36 #36CAA3
split-complementary
#5936CA #CAA336 #5DCA36
monochromatic
#2E1C6A #43299A #5936CA #8166D7 #A997E4

Accessibility & contrast

On white

7.49
#5936CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5936CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936CA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936CA#FFFFFF#000000##FFFFFF
##5936CA1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#235F7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5936ca;
/* rgb */ color: rgb(89, 54, 202);
/* oklch */ color: oklch(47.2% 0.213 285.7);
Tailwind
colors: {
  custom: {
    50: '#9471db',
    500: '#5936ca',
    950: '#000000',
  },
}
SCSS
$custom: #5936ca;
$custom-light: #9471db;
$custom-dark: #000000;
JSON
{
  "hex": "#5936ca",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 254.189,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.21308,
    "h": 285.7
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#5936CA
secondary
#BFCF8D
accent
#E146BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5936CA

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

Preview Lab → · Contrast checker → · Palette generator →

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