#5636C8#5636C8

#5636C8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.7% C 0.211 H 284.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5636C8
RGBrgb(86, 54, 200)
HSLhsl(253, 57%, 50%)
HSVhsv(253, 73%, 78%)
CMYKcmyk(57%, 73%, 0%, 21.6%)
CIE-LABlab(35.57, 51.35, -70.86)
CIE-LCHlch(35.57, 87.51, 305.93°)
OKLaboklab(46.72% 0.054 -0.204)
OKLCHoklch(46.72% 0.211 284.8)
XYZxyz(15.5791, 8.7860, 55.5073)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5636C8 #A8C836
analogous
#365FC8 #5636C8 #9F36C8
triadic
#5636C8 #C85636 #36C856
tetradic
#5636C8 #C8365F #A8C836 #36C89F
square
#5636C8 #C8365F #A8C836 #36C89F
split-complementary
#5636C8 #C89F36 #5FC836
monochromatic
#2D1C68 #412998 #5636C8 #7E66D6 #A796E3

Accessibility & contrast

On white

7.62
#5636C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5636C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5636C8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5636C8#FFFFFF#000000##FFFFFF
##5636C81.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#1B5E7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5636c8;
/* rgb */ color: rgb(86, 54, 200);
/* oklch */ color: oklch(46.7% 0.211 284.8);
Tailwind
colors: {
  custom: {
    50: '#9270da',
    500: '#5636c8',
    950: '#000000',
  },
}
SCSS
$custom: #5636c8;
$custom-light: #9270da;
$custom-dark: #000000;
JSON
{
  "hex": "#5636c8",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 253.151,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46721,
    "c": 0.21104,
    "h": 284.8
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#5636C8
secondary
#BFCE8C
accent
#E147BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5636C8

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

Preview Lab → · Contrast checker → · Palette generator →

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