#5936C8#5936C8

#5936C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.211 H 286.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5936C8
RGBrgb(89, 54, 200)
HSLhsl(254, 57%, 50%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(55.5%, 73%, 0%, 21.6%)
CIE-LABlab(35.85, 51.78, -70.38)
CIE-LCHlch(35.85, 87.38, 306.34°)
OKLaboklab(46.99% 0.0583 -0.2025)
OKLCHoklch(46.99% 0.211 286)
XYZxyz(15.8612, 8.9314, 55.5205)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936C8 #A5C836
analogous
#365CC8 #5936C8 #A236C8
triadic
#5936C8 #C85936 #36C859
tetradic
#5936C8 #C8365C #A5C836 #36C8A2
square
#5936C8 #C8365C #A5C836 #36C8A2
split-complementary
#5936C8 #C8A236 #5CC836
monochromatic
#2E1C68 #442998 #5936C8 #8066D6 #A896E3

Accessibility & contrast

On white

7.54
#5936C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5936C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936C8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936C8#FFFFFF#000000##FFFFFF
##5936C81.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#265E7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5936c8;
/* rgb */ color: rgb(89, 54, 200);
/* oklch */ color: oklch(47.0% 0.211 286.0);
Tailwind
colors: {
  custom: {
    50: '#9371da',
    500: '#5936c8',
    950: '#000000',
  },
}
SCSS
$custom: #5936c8;
$custom-light: #9371da;
$custom-dark: #000000;
JSON
{
  "hex": "#5936c8",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 254.384,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.21076,
    "h": 286
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#5936C8
secondary
#BECE8C
accent
#E147BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5936C8

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

Preview Lab → · Contrast checker → · Palette generator →

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