#5636BA#5636BA

#5636BA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.195 H 287.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5636BA
RGBrgb(86, 54, 186)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 73%)
CMYKcmyk(53.8%, 71%, 0%, 27.1%)
CIE-LABlab(34.32, 47.29, -64.70)
CIE-LCHlch(34.32, 80.14, 306.16°)
OKLaboklab(45.45% 0.0569 -0.186)
OKLCHoklch(45.45% 0.195 287)
XYZxyz(14.0172, 8.1612, 47.2815)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5636BA #9ABA36
analogous
#3658BA #5636BA #9836BA
triadic
#5636BA #BA5636 #36BA56
tetradic
#5636BA #BA3658 #9ABA36 #36BA98
square
#5636BA #BA3658 #9ABA36 #36BA98
split-complementary
#5636BA #BA9836 #58BA36
monochromatic
#2A1A5B #40288B #5636BA #795DD0 #A08DDE

Accessibility & contrast

On white

7.98
#5636BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5636BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5636BA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5636BA#FFFFFF#000000##FFFFFF
##5636BA1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#2D5974
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5636ba;
/* rgb */ color: rgb(86, 54, 186);
/* oklch */ color: oklch(45.4% 0.195 287.0);
Tailwind
colors: {
  custom: {
    50: '#9070d0',
    500: '#5636ba',
    950: '#000000',
  },
}
SCSS
$custom: #5636ba;
$custom-light: #9070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5636ba",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 254.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.19451,
    "h": 287
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#5636BA
secondary
#B8C884
accent
#DE49BA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5636BA

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

Preview Lab → · Contrast checker → · Palette generator →

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