#5936C3#5936C3

#5936C3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.205 H 286.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5936C3
RGBrgb(89, 54, 195)
HSLhsl(255, 57%, 49%)
HSVhsv(255, 72%, 76%)
CMYKcmyk(54.4%, 72.3%, 0%, 23.5%)
CIE-LABlab(35.40, 50.35, -68.20)
CIE-LCHlch(35.40, 84.77, 306.44°)
OKLaboklab(46.53% 0.0594 -0.1961)
OKLCHoklch(46.53% 0.205 286.8)
XYZxyz(15.2864, 8.7015, 52.4933)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936C3 #A0C336
analogous
#3659C3 #5936C3 #A036C3
triadic
#5936C3 #C35936 #36C359
tetradic
#5936C3 #C33659 #A0C336 #36C3A0
square
#5936C3 #C33659 #A0C336 #36C3A0
split-complementary
#5936C3 #C3A036 #59C336
monochromatic
#2D1B63 #432993 #5936C3 #7F63D4 #A692E1

Accessibility & contrast

On white

7.66
#5936C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5936C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936C3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936C3#FFFFFF#000000##FFFFFF
##5936C31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#2C5C79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5936c3;
/* rgb */ color: rgb(89, 54, 195);
/* oklch */ color: oklch(46.5% 0.205 286.8);
Tailwind
colors: {
  custom: {
    50: '#9370d6',
    500: '#5936c3',
    950: '#000000',
  },
}
SCSS
$custom: #5936c3;
$custom-light: #9370d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5936c3",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 254.894,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.20494,
    "h": 286.8
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#5936C3
secondary
#BBCC89
accent
#E048BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5936C3

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

Preview Lab → · Contrast checker → · Palette generator →

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